summaryrefslogtreecommitdiff
path: root/xmloff/source/draw
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/draw')
-rw-r--r--xmloff/source/draw/propimp0.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/draw/propimp0.cxx b/xmloff/source/draw/propimp0.cxx
index 991b3cb7a271..961aa406d868 100644
--- a/xmloff/source/draw/propimp0.cxx
+++ b/xmloff/source/draw/propimp0.cxx
@@ -185,7 +185,7 @@ bool XMLTextAnimationStepPropertyHdl::importXML(
sal_Int32 nPos = rStrImpValue.indexOf( "px" );
if( nPos != -1 )
{
- if (::sax::Converter::convertNumber(nValue, std::u16string_view(rStrImpValue).substr(0, nPos)))
+ if (::sax::Converter::convertNumber(nValue, rStrImpValue.subView(0, nPos)))
{
rValue <<= sal_Int16( -nValue );
bRet = true;