diff options
author | Noel <noel.grandin@collabora.co.uk> | 2020-12-21 09:39:48 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-12-21 11:34:17 +0100 |
commit | 917338c6a81fa5c793d7e4c14f2f031219e64b84 (patch) | |
tree | 7a14dbc0570d2f76084fe11af62c8bb2d1c5dfb1 /xmloff/source/transform | |
parent | 39ef79abd0b598cc010261aa6d1eaeabd8a52e95 (diff) |
use std::u16string_view in SvXMLTokenEnumerator
Change-Id: I1194441063047637adc20c8e37bb717fdb787714
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108073
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff/source/transform')
-rw-r--r-- | xmloff/source/transform/StyleOASISTContext.cxx | 2 | ||||
-rw-r--r-- | xmloff/source/transform/StyleOOoTContext.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/transform/StyleOASISTContext.cxx b/xmloff/source/transform/StyleOASISTContext.cxx index d8afd425d767..4e708db44962 100644 --- a/xmloff/source/transform/StyleOASISTContext.cxx +++ b/xmloff/source/transform/StyleOASISTContext.cxx @@ -471,7 +471,7 @@ void XMLPropertiesTContext_Impl::StartElement( // Adapts attribute values (#i49139#) OUStringBuffer aNewAttrValue; SvXMLTokenEnumerator aTokenEnum( rAttrValue ); - OUString aToken; + std::u16string_view aToken; while( aTokenEnum.getNextToken( aToken ) ) { if ( !aNewAttrValue.isEmpty() ) diff --git a/xmloff/source/transform/StyleOOoTContext.cxx b/xmloff/source/transform/StyleOOoTContext.cxx index 735d365068ca..fd6d082822cd 100644 --- a/xmloff/source/transform/StyleOOoTContext.cxx +++ b/xmloff/source/transform/StyleOOoTContext.cxx @@ -877,7 +877,7 @@ void XMLPropertiesOOoTContext_Impl::StartElement( case XML_ATACTION_STYLE_MIRROR_OOO: // adapts style:mirror values { SvXMLTokenEnumerator aTokenEnum( sAttrValue ); - OUString aToken; + std::u16string_view aToken; while( aTokenEnum.getNextToken( aToken ) ) { if ( !aStyleMirrorAttrValue.isEmpty() ) |