[Libreoffice-commits] core.git: Branch 'libreoffice-4-1' - oox/source

Markus Mohrhard markus.mohrhard at googlemail.com
Sun Dec 1 03:12:55 PST 2013


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

New commits:
commit 90674ac8a975b16389d9b32016f3ef605a702079
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
    Reviewed-on: https://gerrit.libreoffice.org/6879
    Reviewed-by: Andras Timar <andras.timar at collabora.com>
    Tested-by: Andras Timar <andras.timar at collabora.com>

diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx
index b654001..e6da04b 100644
--- a/oox/source/export/chartexport.cxx
+++ b/oox/source/export/chartexport.cxx
@@ -1277,8 +1277,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