summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2017-06-07 17:01:40 +0300
committerTor Lillqvist <tml@collabora.com>2017-06-07 21:34:05 +0300
commit0505d3b22a29d47945f1d08135138610edbdc9bc (patch)
tree63a06d3bbb2b613e4d3f64eced7215fc620a3bfe
parent468345765e71bcfabfc9148cbed8c4ae6c51910c (diff)
Take new FormulaTokenArrayPlainIterator into use in one more place
Change-Id: I8af9204e93608d7f63a502ddcc0b05e6f191343f
-rw-r--r--sc/source/filter/excel/xeformula.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/filter/excel/xeformula.cxx b/sc/source/filter/excel/xeformula.cxx
index 7c0134f332be..ccc2ce6218d4 100644
--- a/sc/source/filter/excel/xeformula.cxx
+++ b/sc/source/filter/excel/xeformula.cxx
@@ -2126,7 +2126,8 @@ void XclExpFmlaCompImpl::ProcessExternalName( const XclExpScToken& rTokData )
// store external cell contents in CRN records
if( mxData->mpScBasePos )
{
- for( FormulaToken* pScToken = xArray->First(); pScToken; pScToken = xArray->Next() )
+ FormulaTokenArrayPlainIterator aIter(*xArray);
+ for( FormulaToken* pScToken = aIter.First(); pScToken; pScToken = aIter.Next() )
{
if( pScToken->IsExternalRef() )
{