From f1f5ffb71690b78bee787527f592efa40ce10aec Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Tue, 13 Jun 2017 19:35:31 +0300 Subject: Use FormulaTokenArray::FirstToken() in more places Change-Id: I4cb4a739027f03a81d758db552f9951880a79fdd --- sc/source/core/tool/interpr4.cxx | 4 ++-- 1 file 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; -- cgit