summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-12-01 04:19:09 +0100
committerAndras Timar <andras.timar@collabora.com>2013-12-01 05:12:32 -0600
commit90674ac8a975b16389d9b32016f3ef605a702079 (patch)
treeb669063dc10b932612e4ca6953c9aaa75532fbe2
parent578ff4dfd6f0d63670dfb21425b6b81fdc87d852 (diff)
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@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
-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 b6540014c69b..e6da04b16695 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 ) );
}