summaryrefslogtreecommitdiff
path: root/xmloff/source/draw/ximpcustomshape.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/draw/ximpcustomshape.cxx')
-rw-r--r--xmloff/source/draw/ximpcustomshape.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/draw/ximpcustomshape.cxx b/xmloff/source/draw/ximpcustomshape.cxx
index f53c513d7e26..897f8dcc375c 100644
--- a/xmloff/source/draw/ximpcustomshape.cxx
+++ b/xmloff/source/draw/ximpcustomshape.cxx
@@ -121,7 +121,7 @@ static void GetString( std::vector< css::beans::PropertyValue >& rDest,
template<typename EnumT>
static void GetEnum( std::vector< css::beans::PropertyValue >& rDest,
- const OUString& rValue, const EnhancedCustomShapeTokenEnum eDestProp,
+ std::string_view rValue, const EnhancedCustomShapeTokenEnum eDestProp,
const SvXMLEnumMapEntry<EnumT>& rMap )
{
EnumT eKind;
@@ -1070,7 +1070,7 @@ void XMLEnhancedCustomShapeContext::startFastElement(
}
break;
case EAS_glue_point_type :
- GetEnum( maPath, aIter.toString(), EAS_GluePointType, *aXML_GluePointEnumMap );
+ GetEnum( maPath, aIter.toView(), EAS_GluePointType, *aXML_GluePointEnumMap );
break;
case EAS_glue_point_leaving_directions :
GetDoubleSequence( maPath, aIter.toString(), EAS_GluePointLeavingDirections );