diff options
-rw-r--r-- | sc/source/core/data/column.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sc/source/core/data/column.cxx b/sc/source/core/data/column.cxx index 3d04070ebab5..314cf453f765 100644 --- a/sc/source/core/data/column.cxx +++ b/sc/source/core/data/column.cxx @@ -2684,11 +2684,12 @@ public: if (pCode && pCode->IsFormulaVectorDisabled()) { pCode->ResetVectorState(); - FormulaToken* pFT = pCode->First(); + FormulaTokenArrayPlainIterator aIter(*pCode); + FormulaToken* pFT = aIter.First(); while (pFT) { pCode->CheckToken(*pFT); - pFT = pCode->Next(); + pFT = aIter.Next(); } } } |