[Libreoffice-commits] core.git: Branch 'libreoffice-4-2' - oox/source
Markus Mohrhard
markus.mohrhard at googlemail.com
Sat Nov 30 17:22:04 PST 2013
oox/source/export/chartexport.cxx | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
New commits:
commit 666ef5425e4e7e1a01c3dddbd0d847fec193176a
Author: Markus Mohrhard <markus.mohrhard at 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 36412be..756f2ed 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 ) );
}
More information about the Libreoffice-commits
mailing list