From a82cdccb0c276ec10c35beec46fa7fa25fc95cd5 Mon Sep 17 00:00:00 2001 From: Samuel Mehrbrodt Date: Thu, 22 Mar 2018 17:36:51 +0100 Subject: Typo: GetSelectItemId -> GetSelectedItemId Change-Id: Ieebb50b73f1f341c924693f3966f8cd2b09a136b Reviewed-on: https://gerrit.libreoffice.org/51750 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt --- sd/source/ui/animations/SlideTransitionPane.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sd/source/ui/animations') diff --git a/sd/source/ui/animations/SlideTransitionPane.cxx b/sd/source/ui/animations/SlideTransitionPane.cxx index 0fe9d7292996..f47e611216af 100644 --- a/sd/source/ui/animations/SlideTransitionPane.cxx +++ b/sd/source/ui/animations/SlideTransitionPane.cxx @@ -808,11 +808,11 @@ impl::TransitionEffect SlideTransitionPane::getTransitionEffectFromControls() co // check first (aResult might be overwritten) if( mpVS_TRANSITION_ICONS->IsEnabled() && !mpVS_TRANSITION_ICONS->IsNoSelection() && - mpVS_TRANSITION_ICONS->GetSelectItemId() > 0 ) + mpVS_TRANSITION_ICONS->GetSelectedItemId() > 0 ) { const sd::TransitionPresetList& rPresetList = sd::TransitionPreset::getTransitionPresetList(); auto aSelected = rPresetList.begin(); - std::advance( aSelected, mpVS_TRANSITION_ICONS->GetSelectItemId() - 1); + std::advance( aSelected, mpVS_TRANSITION_ICONS->GetSelectedItemId() - 1); if( mpLB_VARIANT->GetSelectedEntryPos() == LISTBOX_ENTRY_NOTFOUND ) { @@ -1046,7 +1046,7 @@ IMPL_LINK_NOARG(SlideTransitionPane, PlayButtonClicked, Button*, void) IMPL_LINK_NOARG(SlideTransitionPane, TransitionSelected, ValueSet *, void) { - updateVariants( mpVS_TRANSITION_ICONS->GetSelectItemId() - 1 ); + updateVariants( mpVS_TRANSITION_ICONS->GetSelectedItemId() - 1 ); applyToSelectedPages(); } -- cgit