sw/source/filter/ww8/docxsdrexport.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit aad35298c43795e60605e0ea71290642687c8fc4 Author: Jacobo Aragunde Pérez <jaragu...@igalia.com> Date: Fri Feb 28 19:47:44 2014 +0100 fdo#70838: fix size error in rotated shapes in DrawingML We should pass the natural rectangle instead of the bounding box as the size of the shape. Change-Id: I3ecee9d5645f280071c2872ecd08dbcf54574b8a diff --git a/sw/source/filter/ww8/docxsdrexport.cxx b/sw/source/filter/ww8/docxsdrexport.cxx index d07e477..5ed1811 100644 --- a/sw/source/filter/ww8/docxsdrexport.cxx +++ b/sw/source/filter/ww8/docxsdrexport.cxx @@ -486,7 +486,7 @@ void DocxSdrExport::writeVMLDrawing(const SdrObject* sdrObj, const SwFrmFmt& rFr void DocxSdrExport::Impl::writeDMLDrawing(const SdrObject* pSdrObject, const SwFrmFmt* pFrmFmt, int nAnchorId) { sax_fastparser::FSHelperPtr pFS = m_pSerializer; - Size aSize(pSdrObject->GetSnapRect().GetWidth(), pSdrObject->GetSnapRect().GetHeight()); + Size aSize(pSdrObject->GetLogicRect().GetWidth(), pSdrObject->GetLogicRect().GetHeight()); m_rSdrExport.startDMLAnchorInline(pFrmFmt, aSize); sax_fastparser::FastAttributeList* pDocPrAttrList = pFS->createAttrList();
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits