diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2015-04-18 11:33:10 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2015-04-19 03:03:23 +0200 |
commit | 7bb87abc0cc7bf17af62117b65e18bc007573e6e (patch) | |
tree | 480f6421c3a79aa743f6496e6653ad1f32967957 /oox | |
parent | c4a267215c10647ff281e9e629faa0a8a201f4b4 (diff) |
fix upDown bar export to OOXML
We should not really export it as this leads to wrong import into MSO.
Change-Id: I94897eef040af0785acb3c7615ce6f5b5a96f055
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/export/chartexport.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx index 63d77659ec8a..05f751838c27 100644 --- a/oox/source/export/chartexport.cxx +++ b/oox/source/export/chartexport.cxx @@ -1608,6 +1608,9 @@ void ChartExport::exportHiLowLines() void ChartExport::exportUpDownBars( Reference< chart2::XChartType > xChartType) { + if(xChartType->getChartType() != "com.sun.star.chart2.CandleStickChartType") + return; + FSHelperPtr pFS = GetFS(); // export the chart property Reference< ::com::sun::star::chart::XStatisticDisplay > xChartPropProvider( mxDiagram, uno::UNO_QUERY ); |