oox/source/export/chartexport.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit f102e2391a913acef117aed6106e635b7ab1853d
Author: Markus Mohrhard <[email protected]>
Date:   Sat Oct 1 00:32:28 2016 +0200

    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 <[email protected]>
    Tested-by: Jenkins <[email protected]>
    (cherry picked from commit 74b2cc607448d24146bd3508abb832d6ab42cb56)
    Reviewed-on: https://gerrit.libreoffice.org/29426
    Reviewed-by: Eike Rathke <[email protected]>

diff --git a/oox/source/export/chartexport.cxx 
b/oox/source/export/chartexport.cxx
index 5d37352..b8172f9 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);
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to