xmloff/source/style/xmltabi.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit b1a4d2a49a47cd8b457b8c704134c0f1beaa9210 Author: Noel Grandin <noel.gran...@collabora.co.uk> AuthorDate: Thu Jun 2 13:33:06 2022 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Thu Jun 2 15:37:59 2022 +0200 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.gran...@collabora.co.uk> 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);