diff options
author | Rafael Dominguez <venccsralph@gmail.com> | 2012-03-10 14:00:07 +0000 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-03-23 02:55:28 +0100 |
commit | 3bb87d7c5f0c1ad75f138d9d641963497da822e0 (patch) | |
tree | 42e4b18394d335c6f36fe789ec28d61310528f58 | |
parent | 4a992fed8d2e76d70a31491dcc58ce3e3c7ed7dd (diff) |
Set bar type as YErrorBar when creating InsertErrorBarsDialog.
-rw-r--r-- | chart2/source/controller/main/ChartController_Insert.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/chart2/source/controller/main/ChartController_Insert.cxx b/chart2/source/controller/main/ChartController_Insert.cxx index f39852278475..0a2b674ce034 100644 --- a/chart2/source/controller/main/ChartController_Insert.cxx +++ b/chart2/source/controller/main/ChartController_Insert.cxx @@ -366,7 +366,9 @@ void ChartController::executeDispatch_InsertMenu_YErrorBars() SolarMutexGuard aGuard; InsertErrorBarsDialog aDlg( m_pChartWindow, aItemSet, - uno::Reference< chart2::XChartDocument >( getModel(), uno::UNO_QUERY )); + uno::Reference< chart2::XChartDocument >( getModel(), uno::UNO_QUERY ), + ErrorBarResources::ERROR_BAR_Y); + aDlg.SetAxisMinorStepWidthForErrorBarDecimals( InsertErrorBarsDialog::getAxisMinorStepWidthForErrorBarDecimals( getModel(), m_xChartView, rtl::OUString() ) ); |