From 90674ac8a975b16389d9b32016f3ef605a702079 Mon Sep 17 00:00:00 2001
From: Markus Mohrhard <markus.mohrhard@googlemail.com>
Date: Sun, 1 Dec 2013 04:19:09 +0100
Subject: [PATCH 017/109] 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>
---
oox/source/export/chartexport.cxx | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
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 ) );
}
--
1.8.4.2