summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-10-01 00:32:28 +0200
committerEike Rathke <erack@redhat.com>2016-10-04 15:39:07 +0000
commitf102e2391a913acef117aed6106e635b7ab1853d (patch)
tree4f339671d4eb076a9bbb20aee13fbe32ff6a82b6 /oox
parent36b17b095850e73b3a5f044ac69661a813fbf3b8 (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> (cherry picked from commit 74b2cc607448d24146bd3508abb832d6ab42cb56) Reviewed-on: https://gerrit.libreoffice.org/29426 Reviewed-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'oox')
-rw-r--r--oox/source/export/chartexport.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx
index 5d373529ce36..b8172f99ec62 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);