diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-04-20 09:14:08 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-04-20 10:38:02 +0200 |
commit | 8e4453c2117b6c3bb15be6b949a0a8a43df66647 (patch) | |
tree | 73cf2208d992c5406777be3edc4efe5fc28963ce /xmloff/source/style/GradientStyle.cxx | |
parent | 2ddf33f78fbc4ce0f49752e4adb9357c1fb69833 (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/GradientStyle.cxx')
-rw-r--r-- | xmloff/source/style/GradientStyle.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/style/GradientStyle.cxx b/xmloff/source/style/GradientStyle.cxx index f3fbfb01ec24..81ccd84d2b55 100644 --- a/xmloff/source/style/GradientStyle.cxx +++ b/xmloff/source/style/GradientStyle.cxx @@ -100,10 +100,10 @@ void XMLGradientStyleImport::importXML( aGradient.YOffset = static_cast< sal_Int16 >( nTmpValue ); break; case XML_ELEMENT(DRAW, XML_START_COLOR): - ::sax::Converter::convertColor(aGradient.StartColor, aIter.toString()); + ::sax::Converter::convertColor(aGradient.StartColor, aIter.toView()); break; case XML_ELEMENT(DRAW, XML_END_COLOR): - ::sax::Converter::convertColor(aGradient.EndColor, aIter.toString()); + ::sax::Converter::convertColor(aGradient.EndColor, aIter.toView()); break; case XML_ELEMENT(DRAW, XML_START_INTENSITY): ::sax::Converter::convertPercent( nTmpValue, aIter.toView() ); |