summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2017-06-13 19:57:56 +0300
committerTor Lillqvist <tml@collabora.com>2017-06-13 20:31:52 +0300
commita9ea29db8982699eb5977d0b942f8dd8ee8c847c (patch)
treedb8d5b2d2772a288c19ecff1b942603a747f6165 /sc
parentf1f5ffb71690b78bee787527f592efa40ce10aec (diff)
Use FormulaTokenArray::FirstToken() in one more place
Change-Id: Id839dde6453b75e59a6903eb0e18ce6f2d75adbf
Diffstat (limited to 'sc')
-rw-r--r--sc/source/filter/excel/xecontent.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/excel/xecontent.cxx b/sc/source/filter/excel/xecontent.cxx
index 4df9300152b4..5e7ad2d01d65 100644
--- a/sc/source/filter/excel/xecontent.cxx
+++ b/sc/source/filter/excel/xecontent.cxx
@@ -958,7 +958,7 @@ void XclExpCFImpl::SaveXml( XclExpXmlStream& rStrm )
// the token array for that
std::unique_ptr<ScTokenArray> pTokenArray(mrFormatEntry.CreateFlatCopiedTokenArray(0));
if(pTokenArray->GetLen())
- aText = XclXmlUtils::ToOString(pTokenArray->First()->GetString().getString());
+ aText = XclXmlUtils::ToOString(pTokenArray->FirstToken()->GetString().getString());
}
sax_fastparser::FSHelperPtr& rWorksheet = rStrm.GetCurrentStream();