summaryrefslogtreecommitdiff
path: root/oox
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 13:05:39 +0200
commit7855cd6704c864911d97b73f8c46d712975ec9b5 (patch)
tree690c89622a8e3331d96b623826683f4ac48401b8 /oox
parent6b715afe5fac84078677ce2227d2cc783f9ab243 (diff)
respect element order in OOXML chart export, related fdo#63114
Change-Id: I591a63c38ab18b03a2f86428defbdac0cb96a1c0 (cherry picked from commit 54fbbc20b8397a8362f5a0878744c3a082464713)
Diffstat (limited to 'oox')
-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;