diff options
author | Aron Budea <aron.budea@collabora.com> | 2018-03-09 03:54:27 +0100 |
---|---|---|
committer | Aron Budea <aron.budea@collabora.com> | 2018-03-09 05:46:39 +0100 |
commit | 612ed5e752a0b317cf63a27ff1bb663a774022ef (patch) | |
tree | 960074270e21e6ad2c698cdea7fbf292cb488584 /sw | |
parent | 0b573eac85b3100eb8d40dcaf25c510f50cfd62f (diff) |
tdf#116301: write correct content type for diagramDrawing
According to MS-ODRAWXML the correct one is:
application/vnd.ms-office.drawingml.diagramDrawing+xml
Change-Id: If988ad234742da42634a52bbe176dbb5b763af46
Reviewed-on: https://gerrit.libreoffice.org/50980
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Aron Budea <aron.budea@collabora.com>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/filter/ww8/docxsdrexport.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/docxsdrexport.cxx b/sw/source/filter/ww8/docxsdrexport.cxx index 156b013feb2a..eb37f6ac19d1 100644 --- a/sw/source/filter/ww8/docxsdrexport.cxx +++ b/sw/source/filter/ww8/docxsdrexport.cxx @@ -1331,7 +1331,7 @@ void DocxSdrExport::writeDiagram(const SdrObject* sdrObject, const SwFrameFormat uno::Reference<io::XOutputStream> xDrawingOutputStream = m_pImpl->m_rExport.GetFilter().openFragmentStream( "word/" + drawingFileName, - "application/vnd.openxmlformats-officedocument.drawingml.diagramDrawing+xml"); + "application/vnd.ms-office.drawingml.diagramDrawing+xml"); writer->setOutputStream(xDrawingOutputStream); serializer->serialize( uno::Reference<xml::sax::XDocumentHandler>(writer, uno::UNO_QUERY_THROW), |