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

New commits:
commit 4b0d5b7cb08148a53ff7f64c48f52a3291b7a0c3
Author: Markus Mohrhard <markus.mohrh...@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 ) );
 }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to