[Libreoffice-commits] core.git: oox/source

Markus Mohrhard markus.mohrhard at googlemail.com
Sat Nov 30 17:21:40 PST 2013


 oox/source/export/chartexport.cxx |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

New commits:
commit 4b0d5b7cb08148a53ff7f64c48f52a3291b7a0c3
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Sun Dec 1 04:19:09 2013 +0100

    fix validation error for OOXML chart export, related fdo#67300
    
    Change-Id: I7d74439bba3b912fe9b81ebeca865298bc32d71e

diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx
index 9c004e0..c372151 100644
--- a/oox/source/export/chartexport.cxx
+++ b/oox/source/export/chartexport.cxx
@@ -1278,8 +1278,11 @@ void ChartExport::exportPieChart( Reference< chart2::XChartType > xChartType )
     sal_Int32 nAttachedAxis = AXIS_PRIMARY_Y;
     exportSeries( xChartType, nAttachedAxis );
 
-    // firstSliceAng
-    exportFirstSliceAng( );
+    if( !mbIs3DChart )
+    {
+        // firstSliceAng
+        exportFirstSliceAng( );
+    }
 
     pFS->endElement( FSNS( XML_c, nTypeId ) );
 }


More information about the Libreoffice-commits mailing list