From d08f91b9acb52015c55dbfe7d5f4c4683d5a3e54 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Wed, 7 Jun 2017 16:39:23 +0300 Subject: Take new FormulaTokenArrayPlainIterator into use in one more place Change-Id: I22b57104cf603883b51bb0f16f2e71ede939f9f4 --- sc/source/core/data/column.cxx | 5 +++-- 1 file 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(); } } } -- cgit