summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-05-27 02:08:56 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-05-27 02:18:42 +0200
commit54fbbc20b8397a8362f5a0878744c3a082464713 (patch)
tree196209871a36a9e134f3ae76a9ab823bd949b192
parent911186d98f06b43d4563b401244e2cc216b76f33 (diff)
respect element order in OOXML chart export, related fdo#63114
Change-Id: I591a63c38ab18b03a2f86428defbdac0cb96a1c0
-rw-r--r--oox/source/export/chartexport.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx
index c52a3b1ee0e8..b6540014c69b 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;