[Libreoffice-commits] core.git: sc/source
Tor Lillqvist
tml at collabora.com
Wed Jun 14 09:55:17 UTC 2017
sc/source/core/tool/reftokenhelper.cxx | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit 4a38bd3440d0766bb92b910fa7d5ecc9344284c2
Author: Tor Lillqvist <tml at collabora.com>
Date: Wed Jun 14 11:19:34 2017 +0300
Use FormulaTokenArray::FirstToken() in one more place
Change-Id: I5a1530746e834223aff05075400bdaa4b9135963
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;
More information about the Libreoffice-commits
mailing list