diff options
author | Tor Lillqvist <tml@collabora.com> | 2017-06-08 15:01:19 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2017-06-08 19:37:11 +0300 |
commit | 6e257b03e1cf6ef2cb8ba1c237f5068e93d25d54 (patch) | |
tree | a3877354b56c65aa1a2dd937af9df10d9330e747 /sc | |
parent | f0e5791a5a0d8cbdd9e9d033ea2286bda531066b (diff) |
Take FormulaTokenArrayPlainIterator into use in one more place
Change-Id: I70e3bd1129da76e11b5f71b1b56d79898eb3d5be
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/data/grouptokenconverter.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/core/data/grouptokenconverter.cxx b/sc/source/core/data/grouptokenconverter.cxx index 8132c1c400f1..4e37ffe7b236 100644 --- a/sc/source/core/data/grouptokenconverter.cxx +++ b/sc/source/core/data/grouptokenconverter.cxx @@ -102,8 +102,8 @@ bool ScGroupTokenConverter::convert( ScTokenArray& rCode, sc::FormulaLogger::Gro } #endif - rCode.Reset(); - for (const formula::FormulaToken* p = rCode.First(); p; p = rCode.Next()) + formula::FormulaTokenArrayPlainIterator aIter(rCode); + for (const formula::FormulaToken* p = aIter.First(); p; p = aIter.Next()) { // A reference can be either absolute or relative. If it's absolute, // convert it to a static value token. If relative, convert it to a |