diff options
author | Tor Lillqvist <tml@collabora.com> | 2017-06-07 17:02:08 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2017-06-07 21:34:05 +0300 |
commit | 1d0d7127db27d12a39820023f25a212c05952610 (patch) | |
tree | 8c1d08c2881699e19f35360122c9113d938d3778 /sc | |
parent | 0505d3b22a29d47945f1d08135138610edbdc9bc (diff) |
Take new FormulaTokenArrayPlainIterator into use in one more place
Change-Id: Id7f22d2d00e7c3ec79ec2dd886dce72be8692ac5
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/filter/excel/xelink.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/filter/excel/xelink.cxx b/sc/source/filter/excel/xelink.cxx index 8b110575f7c0..55b320a50b1e 100644 --- a/sc/source/filter/excel/xelink.cxx +++ b/sc/source/filter/excel/xelink.cxx @@ -1916,7 +1916,8 @@ void XclExpSupbookBuffer::StoreCellRange( sal_uInt16 nFileId, const OUString& rT if (!pArray.get()) return; - for (FormulaToken* p = pArray->First(); p; p = pArray->Next()) + FormulaTokenArrayPlainIterator aIter(*pArray); + for (FormulaToken* p = aIter.First(); p; p = aIter.Next()) { if (p->GetType() == svMatrix) aMatrixList.push_back(p); |