[Libreoffice-commits] core.git: oox/source

Markus Mohrhard markus.mohrhard at googlemail.com
Sun May 26 17:21:48 PDT 2013


 oox/source/export/chartexport.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 54fbbc20b8397a8362f5a0878744c3a082464713
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Mon May 27 02:08:56 2013 +0200

    respect element order in OOXML chart export, related fdo#63114
    
    Change-Id: I591a63c38ab18b03a2f86428defbdac0cb96a1c0

diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx
index c52a3b1..b654001 100644
--- a/oox/source/export/chartexport.cxx
+++ b/oox/source/export/chartexport.cxx
@@ -1530,15 +1530,15 @@ void ChartExport::exportSeries( Reference< chart2::XChartType > xChartType, sal_
                         }
                     }
 
+                    // export data points
+                    exportDataPoints( uno::Reference< beans::XPropertySet >( aSeriesSeq[nSeriesIdx], uno::UNO_QUERY ), nSeriesLength );
+
                     // export data labels
                     // Excel does not like our current data label export
                     // for scatter charts
                     if( eChartType != chart::TYPEID_SCATTER && eChartType != chart::TYPEID_BAR )
                         exportDataLabels( uno::Reference< beans::XPropertySet >( aSeriesSeq[nSeriesIdx], uno::UNO_QUERY ), nSeriesLength );
 
-                    // export data points
-                    exportDataPoints( uno::Reference< beans::XPropertySet >( aSeriesSeq[nSeriesIdx], uno::UNO_QUERY ), nSeriesLength );
-
                     //export error bars here
                     Reference< XPropertySet > xSeriesPropSet( xSource, uno::UNO_QUERY );
                     Reference< XPropertySet > xErrorBarYProps;


More information about the Libreoffice-commits mailing list