Commit fb00ba7e authored by ElenaSubbotina's avatar ElenaSubbotina

fix users file

parent 9dd115ec
......@@ -108,19 +108,18 @@ BaseObjectPtr SERIESDATA::clone()
// SERIESDATA = Dimensions 3(SIIndex *(Number / BoolErr / Blank / Label))
const bool SERIESDATA::loadContent(BinProcessor& proc)
{
if(!proc.optional<Dimensions>())
{
return false;
}
if (elements_.size() > 0)
bool result = false;
if(proc.optional<Dimensions>())
{
m_Dimensions = elements_.back();
elements_.pop_back();
result = true;
}
int count = proc.repeated<Parenthesis_SERIESDATA_1>(3, 3);
if (count > 0)
{
result = true;
int count1= elements_.size();
while(count1 > 0)
......@@ -137,8 +136,9 @@ const bool SERIESDATA::loadContent(BinProcessor& proc)
}
elements_.pop_front(); count1--;
}
}
return true;
return result;
}
} // namespace XLS
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment