summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2013-12-17 14:02:01 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2013-12-17 14:19:06 +0100
commit46fcde38cff5f99f98b8e2ca98e6908d647b0423 (patch)
tree053dfdeb89c29aca74fb55142ff22442426a8a33
parentf4502a2f7f36c8dba9f76176cc761dd66b1a0e16 (diff)
DocxExport::OutputDML: fix export of shapes in headers
This is triggered by testVMLData in CppunitTest_sw_ooxmlexport when DML export is enabled in non-experimental mode. Change-Id: I5e157f75909d05fc18d9a8790839030f4056860d
-rw-r--r--sw/source/filter/ww8/docxexport.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/docxexport.cxx b/sw/source/filter/ww8/docxexport.cxx
index 051d84180c1f..7d5f63b1bbd5 100644
--- a/sw/source/filter/ww8/docxexport.cxx
+++ b/sw/source/filter/ww8/docxexport.cxx
@@ -335,7 +335,7 @@ void DocxExport::OutputDML(uno::Reference<drawing::XShape>& xShape)
{
uno::Reference<lang::XServiceInfo> xServiceInfo(xShape, uno::UNO_QUERY_THROW);
bool bGroupShape = xServiceInfo->supportsService("com.sun.star.drawing.GroupShape");
- oox::drawingml::ShapeExport aExport((bGroupShape ? XML_wpg : XML_wps), m_pDocumentFS, 0, m_pFilter, oox::drawingml::DrawingML::DOCUMENT_DOCX, m_pAttrOutput);
+ oox::drawingml::ShapeExport aExport((bGroupShape ? XML_wpg : XML_wps), m_pAttrOutput->GetSerializer(), 0, m_pFilter, oox::drawingml::DrawingML::DOCUMENT_DOCX, m_pAttrOutput);
aExport.WriteShape(xShape);
}