summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-12-01 04:19:09 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-12-01 04:21:12 +0100
commit4b0d5b7cb08148a53ff7f64c48f52a3291b7a0c3 (patch)
tree4f417890ee64d34432f9a712f0139a3facc01a9b /oox
parent8027780051da7758f722d1b5e003bd5aa7eee1cd (diff)
fix validation error for OOXML chart export, related fdo#67300
Change-Id: I7d74439bba3b912fe9b81ebeca865298bc32d71e
Diffstat (limited to 'oox')
-rw-r--r--oox/source/export/chartexport.cxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx
index 9c004e041461..c37215131c3f 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 ) );
}