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

Take new FormulaTokenArrayPlainIterator into use in one more place

Change-Id: I8c1ffdd725cc26f48722e09ba5c4d58551ce38a2
üst 8b03c959
......@@ -41,9 +41,9 @@ void ScFormulaListener::startListening(ScTokenArray* pArr, const ScRange& rRange
if (!pArr || mpDoc->IsClipOrUndo())
return;
pArr->Reset();
formula::FormulaToken* t;
while ( ( t = pArr->GetNextReference() ) != nullptr )
formula::FormulaTokenArrayPlainIterator aIter( *pArr );
while ( ( t = aIter.GetNextReference() ) != nullptr )
{
switch (t->GetType())
{
......
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