diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-12-01 04:19:09 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-12-01 04:21:32 +0100 |
commit | 666ef5425e4e7e1a01c3dddbd0d847fec193176a (patch) | |
tree | 3f45f4c4b6aee2b58b1e2df4532562380faa87bc | |
parent | b9410131861af3a5f54d0585dfc47e5f512e0320 (diff) |
fix validation error for OOXML chart export, related fdo#67300
Change-Id: I7d74439bba3b912fe9b81ebeca865298bc32d71e
-rw-r--r-- | oox/source/export/chartexport.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx index 36412be51e12..756f2ed8ed8a 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 ) ); } |