summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-05-06 01:32:32 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-05-06 01:36:23 +0200
commit09d486b897c0e2ba407e833462ac5f9db6188463 (patch)
tree87a246bcd2a0c8ddc6466c38e511bbb5b6440fc9 /oox
parent062b9f0bdc6fc5328fb76a3b19e1036e1e017ce7 (diff)
data label export does not work with bar charts
Excel just removes the chart during import. Additionally we should work on only exporting the data label information for points that really contain data labels. Change-Id: I80aef8effe27c729feb69c25c319ca129dc961a5
Diffstat (limited to 'oox')
-rw-r--r--oox/source/export/chartexport.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx
index 2d1b930404c8..32edd256cd9b 100644
--- a/oox/source/export/chartexport.cxx
+++ b/oox/source/export/chartexport.cxx
@@ -1533,7 +1533,7 @@ void ChartExport::exportSeries( Reference< chart2::XChartType > xChartType, sal_
// export data labels
// Excel does not like our current data label export
// for scatter charts
- if( eChartType != chart::TYPEID_SCATTER )
+ if( eChartType != chart::TYPEID_SCATTER && eChartType != chart::TYPEID_BAR )
exportDataLabels( uno::Reference< beans::XPropertySet >( aSeriesSeq[nSeriesIdx], uno::UNO_QUERY ), nSeriesLength );
// export data points