summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2017-06-13 19:35:31 +0300
committerTor Lillqvist <tml@collabora.com>2017-06-13 20:31:52 +0300
commitf1f5ffb71690b78bee787527f592efa40ce10aec (patch)
tree6b4f8ed2c572afaf0abd030cc618284711cdaf04
parentccbb61a9dbc93d181944e8f4437503e0050e7171 (diff)
Use FormulaTokenArray::FirstToken() in more places
Change-Id: I4cb4a739027f03a81d758db552f9951880a79fdd
-rw-r--r--sc/source/core/tool/interpr4.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/core/tool/interpr4.cxx b/sc/source/core/tool/interpr4.cxx
index 1af3a019f95a..37c9db979aec 100644
--- a/sc/source/core/tool/interpr4.cxx
+++ b/sc/source/core/tool/interpr4.cxx
@@ -1251,7 +1251,7 @@ void ScInterpreter::PopExternalDoubleRef(ScMatrixRef& rMat)
// For now, we only support single range data for external
// references, which means the array should only contain a
// single matrix token.
- formula::FormulaToken* p = pArray->First();
+ formula::FormulaToken* p = pArray->FirstToken();
if (!p || p->GetType() != svMatrix)
SetError( FormulaError::IllegalParameter);
else
@@ -1532,7 +1532,7 @@ bool ScInterpreter::ConvertMatrixParameters()
GetExternalDoubleRef(nFileId, aTabName, rRef, pArray);
if (nGlobalError != FormulaError::NONE || !pArray)
break;
- formula::FormulaToken* pTemp = pArray->First();
+ formula::FormulaToken* pTemp = pArray->FirstToken();
if (!pTemp)
break;