[Libreoffice-commits] .: oox/source

Katarina Machalkova bubli at kemper.freedesktop.org
Wed Dec 1 05:57:50 PST 2010


 oox/source/export/shapes.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 5da8006dcb8fb6dd39585b98b4b98dc83a458c2b
Author: Katarina Machalkova <kmachalkova at suse.cz>
Date:   Wed Dec 1 14:55:07 2010 +0100

    Export frame around graphic object into xlsx (bnc#654525)

diff --git a/oox/source/export/shapes.cxx b/oox/source/export/shapes.cxx
index c86297e..9ae3d53 100644
--- a/oox/source/export/shapes.cxx
+++ b/oox/source/export/shapes.cxx
@@ -637,6 +637,8 @@ ShapeExport& ShapeExport::WriteGraphicObjectShape( Reference< XShape > xShape )
     pFS->startElementNS( mnXmlNamespace, XML_spPr, FSEND );
     WriteShapeTransformation( xShape, XML_a );
     WritePresetShape( "rect" );
+    // graphic object can come with the frame (bnc#654525)
+    WriteOutline( xShapeProps );
     pFS->endElementNS( mnXmlNamespace, XML_spPr );
 
     pFS->endElementNS( mnXmlNamespace, XML_pic );


More information about the Libreoffice-commits mailing list