sw/source/filter/ww8/docxexport.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 46fcde38cff5f99f98b8e2ca98e6908d647b0423
Author: Miklos Vajna <vmik...@collabora.co.uk>
Date:   Tue Dec 17 14:02:01 2013 +0100

    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

diff --git a/sw/source/filter/ww8/docxexport.cxx 
b/sw/source/filter/ww8/docxexport.cxx
index 051d841..7d5f63b 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);
 }
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to