diff options
author | Noel <noel.grandin@collabora.co.uk> | 2020-12-17 16:23:57 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-12-18 07:56:54 +0100 |
commit | d9b8670548561f7f53a546b8fe53212c6b1ce26e (patch) | |
tree | f81854d5bf867dfc4eb7da2f31632656c745969c /xmloff/source/text/XMLIndexChapterInfoEntryContext.cxx | |
parent | 8c9a4ff511a3b1d84a7a6d08a1b153c07f164abb (diff) |
use more string_view in convertEnum
Change-Id: I859de4b908672722e1873c5b41cb456b42258ddd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107885
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff/source/text/XMLIndexChapterInfoEntryContext.cxx')
-rw-r--r-- | xmloff/source/text/XMLIndexChapterInfoEntryContext.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/text/XMLIndexChapterInfoEntryContext.cxx b/xmloff/source/text/XMLIndexChapterInfoEntryContext.cxx index 1f5bbc2ea11f..4936a640b996 100644 --- a/xmloff/source/text/XMLIndexChapterInfoEntryContext.cxx +++ b/xmloff/source/text/XMLIndexChapterInfoEntryContext.cxx @@ -93,7 +93,7 @@ void XMLIndexChapterInfoEntryContext::startFastElement( case XML_ELEMENT(TEXT, XML_DISPLAY): //i53420, always true, in TOC as well { sal_uInt16 nTmp; - if (SvXMLUnitConverter::convertEnum(nTmp, aIter.toString(), aChapterDisplayMap)) + if (SvXMLUnitConverter::convertEnum(nTmp, aIter.toView(), aChapterDisplayMap)) { nChapterInfo = nTmp; bChapterInfoOK = true; |