diff options
author | Rafael Dominguez <venccsralph@gmail.com> | 2012-03-11 19:52:55 +0000 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-03-23 02:55:29 +0100 |
commit | 2ea77e4926edd4a01cd2ed969128b4ba24c0804c (patch) | |
tree | b0c3fb14ae7070ba6959a62e9322c0126eec48f7 /chart2 | |
parent | 2a1d5a428d1957b238359f454989abd0329c9aa5 (diff) |
Display correct errorbar in InsertDialog.
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/controller/main/ChartController_Insert.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/controller/main/ChartController_Insert.cxx b/chart2/source/controller/main/ChartController_Insert.cxx index 4c63d3187aaf..09d8a6445b57 100644 --- a/chart2/source/controller/main/ChartController_Insert.cxx +++ b/chart2/source/controller/main/ChartController_Insert.cxx @@ -546,7 +546,7 @@ void ChartController::executeDispatch_InsertErrorBars( bool bYError ) InsertErrorBarsDialog aDlg( m_pChartWindow, aItemSet, uno::Reference< chart2::XChartDocument >( getModel(), uno::UNO_QUERY ), - ErrorBarResources::ERROR_BAR_Y); + bYError ? ErrorBarResources::ERROR_BAR_Y : ErrorBarResources::ERROR_BAR_X); aDlg.SetAxisMinorStepWidthForErrorBarDecimals( InsertErrorBarsDialog::getAxisMinorStepWidthForErrorBarDecimals( getModel(), m_xChartView, rtl::OUString() ) ); |