summaryrefslogtreecommitdiff
path: root/xmloff/source/text/XMLIndexTOCStylesContext.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/text/XMLIndexTOCStylesContext.cxx')
-rw-r--r--xmloff/source/text/XMLIndexTOCStylesContext.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/text/XMLIndexTOCStylesContext.cxx b/xmloff/source/text/XMLIndexTOCStylesContext.cxx
index 830369240e7c..aee1b9c9f70b 100644
--- a/xmloff/source/text/XMLIndexTOCStylesContext.cxx
+++ b/xmloff/source/text/XMLIndexTOCStylesContext.cxx
@@ -65,7 +65,7 @@ void XMLIndexTOCStylesContext::startFastElement(
{
sal_Int32 nTmp;
if (::sax::Converter::convertNumber(
- nTmp, aIter.toString(), 1,
+ nTmp, aIter.toView(), 1,
GetImport().GetTextImport()->GetChapterNumbering()->
getCount()))
{