diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2018-03-11 01:53:13 +0900 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2018-03-11 01:51:38 +0100 |
commit | 91ab5a07708892c3df6940aeb643d50bfd43e285 (patch) | |
tree | d4173fc6d98267231e2463a865b14910ccff7baf /xmloff | |
parent | cfb90793b42ff57281d1cdd8b0c609652664ffe9 (diff) |
use XML_EMBEDDEDOBJECTGRAPHIC_URL_BASE define
Change-Id: I6d37cc1e745b797a1c727a988177916291b650be
Reviewed-on: https://gerrit.libreoffice.org/51049
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/draw/shapeexport.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
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 ) { |