[Libreoffice-commits] core.git: oox/source

Christian Barth Christian.Barth at zoho.com
Sat Aug 12 06:46:55 UTC 2017


 oox/source/export/chartexport.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 2d05d0ed9fabb001be8d4fb93e3ecf9323977f69
Author: Christian Barth <Christian.Barth at zoho.com>
Date:   Thu Aug 10 22:04:11 2017 +0200

    tdf#107197: Replace relationship URI
    
    replaced URI in oox/source/export/
    
    Change-Id: Ida65ee05cd0dc66ccdd3253260c6523ffd5ceae2
    Signed-off-by: Christian Barth <Christian.Barth at zoho.com>
    Reviewed-on: https://gerrit.libreoffice.org/40996
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx
index 5bf81ee1c821..f0536a1cbfaf 100644
--- a/oox/source/export/chartexport.cxx
+++ b/oox/source/export/chartexport.cxx
@@ -516,7 +516,7 @@ void ChartExport::WriteChartObj( const Reference< XShape >& xShape, sal_Int32 nC
             sRelativeStream,
             pFS->getOutputStream(),
             "application/vnd.openxmlformats-officedocument.drawingml.chart+xml",
-            "http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart",
+            rtl::OUStringToOString(oox::getRelationship(Relationship::CHART), RTL_TEXTENCODING_UTF8).getStr(),
             &sId );
 
     XmlFilterBase* pFB = GetFB();


More information about the Libreoffice-commits mailing list