[Libreoffice-commits] core.git: Branch 'libreoffice-4-0' - oox/source

Markus Mohrhard markus.mohrhard at googlemail.com
Wed May 1 19:54:03 PDT 2013


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

New commits:
commit b2ca1489d885cbd99362878d2fc0b78cc90b435a
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Mon Apr 29 16:33:24 2013 +0200

    c:varyColor is true by default in Excel
    
    And another step closer to opening my test file correctly in Excel.
    
    Change-Id: Ib6aa8ddb2f2792513c7263d86865e08fe5f1483d
    (cherry picked from commit 81b9d431678bc270e7592e9bedb81d2d445e2122)
    Reviewed-on: https://gerrit.libreoffice.org/3686
    Reviewed-by: Kohei Yoshida <kohei.yoshida at suse.de>
    Tested-by: Kohei Yoshida <kohei.yoshida at suse.de>

diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx
index 5d11695..b7736d5 100644
--- a/oox/source/export/chartexport.cxx
+++ b/oox/source/export/chartexport.cxx
@@ -1341,6 +1341,10 @@ void ChartExport::exportScatterChart( Reference< chart2::XChartType > xChartType
             XML_val, scatterStyle,
             FSEND );
 
+    pFS->singleElement( FSNS( XML_c, XML_varyColors ),
+            XML_val, "0",
+            FSEND );
+
     // FIXME: should export xVal and yVal
     sal_Int32 nAttachedAxis = AXIS_PRIMARY_Y;
     exportSeries( xChartType, nAttachedAxis );


More information about the Libreoffice-commits mailing list