diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-10-01 00:32:28 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-10-01 02:18:18 +0000 |
commit | 74b2cc607448d24146bd3508abb832d6ab42cb56 (patch) | |
tree | a631fc423c8ee264c974aa396efca470c131d938 /oox | |
parent | 5f658dc87794036182aa1f8586d82c5ee997cd8b (diff) |
tdf#96161, always write the varyColors element
The default value changed between MSO 2007 and 2010 so we need to always write the value.
Change-Id: I563eafa84baa3df656c83d657ebbb4c381c09957
Reviewed-on: https://gerrit.libreoffice.org/29420
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/export/chartexport.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx index bf287d06610a..ccfc244126a3 100644 --- a/oox/source/export/chartexport.cxx +++ b/oox/source/export/chartexport.cxx @@ -1713,6 +1713,8 @@ void ChartExport::exportLineChart( const Reference< chart2::XChartType >& xChart FSEND ); exportGrouping( ); + pFS->singleElement(FSNS(XML_c, XML_varyColors), + XML_val, "0", FSEND); // TODO: show marker symbol in series? bool bPrimaryAxes = true; exportSeries(xChartType, *itr, bPrimaryAxes); |