diff options
Diffstat (limited to 'oox/source/export/chartexport.cxx')
-rw-r--r-- | oox/source/export/chartexport.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx index 500a80143878..e594a2f47bdd 100644 --- a/oox/source/export/chartexport.cxx +++ b/oox/source/export/chartexport.cxx @@ -21,6 +21,7 @@ #include <oox/token/tokens.hxx> #include "oox/core/xmlfilterbase.hxx" #include "oox/export/chartexport.hxx" +#include <oox/token/relationship.hxx> #include "oox/export/utils.hxx" #include "drawingml/chart/typegroupconverter.hxx" @@ -805,9 +806,9 @@ void ChartExport::exportExternalData( const Reference< css::chart::XChartDocumen } } FSHelperPtr pFS = GetFS(); - OUString type = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/package"; + OUString type = oox::getRelationship(Relationship::PACKAGE); if (relationPath.endsWith(".bin")) - type = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/oleObject"; + type = oox::getRelationship(Relationship::OLEOBJECT); OUString sRelId = GetFB()->addRelation(pFS->getOutputStream(), type, |