summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-06-02 13:33:06 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-06-02 15:37:59 +0200
commitb1a4d2a49a47cd8b457b8c704134c0f1beaa9210 (patch)
tree484c4c8678d7e36e8ef9484dc351519ebef1f39c /xmloff
parent0307018e94f64cd0bf4426f943109e1d7593ec27 (diff)
tdf#148846 TOC: Character fill for tabulation is wrong
regression from commit 8e4453c2117b6c3bb15be6b949a0a8a43df66647 use more FastAttributeIter::toView Change-Id: I510716d2e4c5535faefb3afb658827cca9b6c4fa Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135303 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff')
-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 0c470a4891c7..601c3f5fd191 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.toView()[0];
+ aTabStop.DecimalChar = aIter.toString()[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.toView()[0];
+ cTextFillChar = aIter.toString()[0];
break;
default:
XMLOFF_WARN_UNKNOWN("xmloff", aIter);