sw/source/filter/ww8/docxsdrexport.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 612ed5e752a0b317cf63a27ff1bb663a774022ef Author: Aron Budea <[email protected]> Date: Fri Mar 9 03:54:27 2018 +0100 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 <[email protected]> Reviewed-by: Aron Budea <[email protected]> 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), _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
