Kaydet (Commit) 612ed5e7 authored tarafından Aron Budea's avatar Aron Budea

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/50980Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarAron Budea <aron.budea@collabora.com>
üst 0b573eac
......@@ -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),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment