summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2017-06-14 11:19:34 +0300
committerTor Lillqvist <tml@collabora.com>2017-06-14 12:54:48 +0300
commit4a38bd3440d0766bb92b910fa7d5ecc9344284c2 (patch)
tree1a2009b9b5bd3f2e67c975da164a8598474fa8b9 /sc
parent02d306a23acf842e62dfc317396296425b31c964 (diff)
Use FormulaTokenArray::FirstToken() in one more place
Change-Id: I5a1530746e834223aff05075400bdaa4b9135963
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/tool/reftokenhelper.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/core/tool/reftokenhelper.cxx b/sc/source/core/tool/reftokenhelper.cxx
index e2c5289b24b6..938a990e236f 100644
--- a/sc/source/core/tool/reftokenhelper.cxx
+++ b/sc/source/core/tool/reftokenhelper.cxx
@@ -65,8 +65,7 @@ void ScRefTokenHelper::compileRangeRepresentation(
break;
}
- pArray->Reset();
- const FormulaToken* p = pArray->Next();
+ const FormulaToken* p = pArray->FirstToken();
if (!p)
{
bFailure = true;