diff --git a/oox/source/export/shapes.cxx b/oox/source/export/shapes.cxx index a67fed10124c..ecc14705a75b 100644 --- a/oox/source/export/shapes.cxx +++ b/oox/source/export/shapes.cxx @@ -1165,7 +1165,7 @@ void ShapeExport::WriteGraphicObjectShapePart( const Reference< XShape >& xShape mpURLTransformer->isExternalURL(sURL)); mpFS->singleElementNS( XML_a, XML_hlinkClick, - FSNS( XML_r,XML_id ), OUStringToOString( sRelId, RTL_TEXTENCODING_UTF8 ).getStr(), + FSNS( XML_r,XML_id ), sRelId.toUtf8(), FSEND ); } pFS->endElementNS(mnXmlNamespace, XML_cNvPr);