summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2015-05-03 06:58:28 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2015-05-03 07:39:48 +0200
commit3e2f2e562c15e690b947e11a49f1443d71f87e9e (patch)
tree40598296b01460376cad34c43340df1c964ed3a3 /oox
parentdcc6c0770d57a4b70813b72feb9b5bb2541cf4a7 (diff)
don't assume varyColors for bubbleChart, related tdf#90876
Change-Id: If31ce89380424b7248e49f3d4ab40e35106378c4
Diffstat (limited to 'oox')
-rw-r--r--oox/source/export/chartexport.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx
index 72b6f54eedc9..79792d90a74b 100644
--- a/oox/source/export/chartexport.cxx
+++ b/oox/source/export/chartexport.cxx
@@ -1626,6 +1626,11 @@ void ChartExport::exportBubbleChart( Reference< chart2::XChartType > xChartType
pFS->startElement( FSNS( XML_c, XML_bubbleChart ),
FSEND );
+ const char* varyColors = "0";
+ pFS->singleElement( FSNS( XML_c, XML_varyColors ),
+ XML_val, varyColors,
+ FSEND );
+
sal_Int32 nAttachedAxis = AXIS_PRIMARY_Y;
exportSeries( xChartType, nAttachedAxis );