From 91ab5a07708892c3df6940aeb643d50bfd43e285 Mon Sep 17 00:00:00 2001 From: Tomaž Vajngerl Date: Sun, 11 Mar 2018 01:53:13 +0900 Subject: use XML_EMBEDDEDOBJECTGRAPHIC_URL_BASE define MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I6d37cc1e745b797a1c727a988177916291b650be Reviewed-on: https://gerrit.libreoffice.org/51049 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl --- xmloff/source/draw/shapeexport.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'xmloff') diff --git a/xmloff/source/draw/shapeexport.cxx b/xmloff/source/draw/shapeexport.cxx index e028f56e846e..6a6613e486d4 100644 --- a/xmloff/source/draw/shapeexport.cxx +++ b/xmloff/source/draw/shapeexport.cxx @@ -128,6 +128,8 @@ using namespace ::com::sun::star; using namespace ::xmloff::EnhancedCustomShapeToken; using namespace ::xmloff::token; +#define XML_EMBEDDEDOBJECTGRAPHIC_URL_BASE "vnd.sun.star.GraphicObject:" + namespace { bool supportsText(XmlShapeType eShapeType) @@ -2954,7 +2956,7 @@ void XMLShapeExport::ImpExportOLE2Shape( } if( !bIsEmptyPresObj ) { - OUString sURL( "vnd.sun.star.GraphicObject:" ); + OUString sURL(XML_EMBEDDEDOBJECTGRAPHIC_URL_BASE); sURL += sPersistName; if( !bExportEmbedded ) { -- cgit