diff options
author | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2017-09-14 16:57:06 +0200 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2017-09-21 12:45:38 +0200 |
commit | d99b65c864cc3358238e4eac651f12a34d05e2d9 (patch) | |
tree | fcd7d6fefb9434c27533c826aabc639f68ba97ed /chart2/source/controller/dialogs/res_ErrorBar.cxx | |
parent | b649e5bf1d3f0a11fb0c2fdf6fa08329529ce6fb (diff) |
Rename GetSelectEntryPos -> GetSelectedEntryPos
Change-Id: I0bd4cb463575af843c72d9c8aaf91742203532a4
Reviewed-on: https://gerrit.libreoffice.org/42283
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'chart2/source/controller/dialogs/res_ErrorBar.cxx')
-rw-r--r-- | chart2/source/controller/dialogs/res_ErrorBar.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chart2/source/controller/dialogs/res_ErrorBar.cxx b/chart2/source/controller/dialogs/res_ErrorBar.cxx index 9a0c7ff53fee..45783bb1db2f 100644 --- a/chart2/source/controller/dialogs/res_ErrorBar.cxx +++ b/chart2/source/controller/dialogs/res_ErrorBar.cxx @@ -254,7 +254,7 @@ void ErrorBarResources::UpdateControlStates() // unit for metric fields bool bIsErrorMargin( ( m_pRbFunction->IsChecked()) && - ( m_pLbFunction->GetSelectEntryPos() == CHART_LB_FUNCTION_ERROR_MARGIN )); + ( m_pLbFunction->GetSelectedEntryPos() == CHART_LB_FUNCTION_ERROR_MARGIN )); bool bIsPercentage( m_pRbPercent->IsChecked() || bIsErrorMargin ); FieldUnit eFieldUnit = FUNIT_NONE; @@ -308,7 +308,7 @@ void ErrorBarResources::UpdateControlStates() } // all functions except error margin take no arguments - if( m_pRbFunction->IsChecked() && ( m_pLbFunction->GetSelectEntryPos() != CHART_LB_FUNCTION_ERROR_MARGIN )) + if( m_pRbFunction->IsChecked() && ( m_pLbFunction->GetSelectedEntryPos() != CHART_LB_FUNCTION_ERROR_MARGIN )) { bPosEnabled = false; bNegEnabled = false; @@ -362,7 +362,7 @@ IMPL_LINK_NOARG( ErrorBarResources, CategoryChosen, Button*, void ) { if( m_pLbFunction->GetSelectEntryCount() == 1 ) { - switch( m_pLbFunction->GetSelectEntryPos()) + switch( m_pLbFunction->GetSelectedEntryPos()) { case CHART_LB_FUNCTION_STD_ERROR: m_eErrorKind = SvxChartKindError::StdError; break; |