summaryrefslogtreecommitdiff
path: root/xmloff/source/style/xmltabi.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-04-20 09:14:08 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-04-20 10:38:02 +0200
commit8e4453c2117b6c3bb15be6b949a0a8a43df66647 (patch)
tree73cf2208d992c5406777be3edc4efe5fc28963ce /xmloff/source/style/xmltabi.cxx
parent2ddf33f78fbc4ce0f49752e4adb9357c1fb69833 (diff)
use more FastAttributeIter::toView
Change-Id: I8a8ad5456fea349a45fca0aa468313cb04aa02f5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133198 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff/source/style/xmltabi.cxx')
-rw-r--r--xmloff/source/style/xmltabi.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/style/xmltabi.cxx b/xmloff/source/style/xmltabi.cxx
index 601c3f5fd191..0c470a4891c7 100644
--- a/xmloff/source/style/xmltabi.cxx
+++ b/xmloff/source/style/xmltabi.cxx
@@ -93,7 +93,7 @@ SvxXMLTabStopContext_Impl::SvxXMLTabStopContext_Impl(
break;
case XML_ELEMENT(STYLE, XML_CHAR):
if( !aIter.isEmpty() )
- aTabStop.DecimalChar = aIter.toString()[0];
+ aTabStop.DecimalChar = aIter.toView()[0];
break;
case XML_ELEMENT(STYLE, XML_LEADER_STYLE):
if( IsXMLToken( aIter, XML_NONE ) )
@@ -105,7 +105,7 @@ SvxXMLTabStopContext_Impl::SvxXMLTabStopContext_Impl(
break;
case XML_ELEMENT(STYLE, XML_LEADER_TEXT):
if( !aIter.isEmpty() )
- cTextFillChar = aIter.toString()[0];
+ cTextFillChar = aIter.toView()[0];
break;
default:
XMLOFF_WARN_UNKNOWN("xmloff", aIter);