summaryrefslogtreecommitdiff
path: root/xmloff/source/text/XMLIndexBibliographyConfigurationContext.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/text/XMLIndexBibliographyConfigurationContext.cxx')
-rw-r--r--xmloff/source/text/XMLIndexBibliographyConfigurationContext.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/text/XMLIndexBibliographyConfigurationContext.cxx b/xmloff/source/text/XMLIndexBibliographyConfigurationContext.cxx
index b38fd4db03d4..758a7be07208 100644
--- a/xmloff/source/text/XMLIndexBibliographyConfigurationContext.cxx
+++ b/xmloff/source/text/XMLIndexBibliographyConfigurationContext.cxx
@@ -127,7 +127,7 @@ css::uno::Reference< css::xml::sax::XFastContextHandler > XMLIndexBibliographyCo
// process children here and use default context!
if ( nElement == XML_ELEMENT(TEXT, XML_SORT_KEY) )
{
- OUString sKey;
+ std::string_view sKey;
bool bSort(true);
for (auto &aIter : sax_fastparser::castToFastAttributeList( xAttrList ))
@@ -135,7 +135,7 @@ css::uno::Reference< css::xml::sax::XFastContextHandler > XMLIndexBibliographyCo
switch (aIter.getToken())
{
case XML_ELEMENT(TEXT, XML_KEY):
- sKey = aIter.toString();
+ sKey = aIter.toView();
break;
case XML_ELEMENT(TEXT, XML_SORT_ASCENDING):
{