Kaydet (Commit) 74b1a899 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Take new FormulaTokenArrayPlainIterator into use in one more place

Change-Id: I53531cb2e0ecf5972cb6c016b4395ded66622e9a
üst 60df5322
...@@ -4453,7 +4453,8 @@ StackVar ScInterpreter::Interpret() ...@@ -4453,7 +4453,8 @@ StackVar ScInterpreter::Interpret()
{ {
if ( !nErrorFunctionCount ) if ( !nErrorFunctionCount )
{ // count of errorcode functions in formula { // count of errorcode functions in formula
for ( FormulaToken* t = rArr.FirstRPN(); t; t = rArr.NextRPN() ) FormulaTokenArrayPlainIterator aIter(rArr);
for ( FormulaToken* t = aIter.FirstRPN(); t; t = aIter.NextRPN() )
{ {
if ( IsErrFunc(t->GetOpCode()) ) if ( IsErrFunc(t->GetOpCode()) )
++nErrorFunctionCount; ++nErrorFunctionCount;
......
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