diff options
author | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2018-03-22 17:28:40 +0100 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2018-03-23 11:03:55 +0100 |
commit | deb2151d7392b8bbeb0f0287c17a3eb4f8eb42df (patch) | |
tree | c7a77c26a92cc2a2d8b62065ca614aa3aca05007 /svx | |
parent | 198b1ed5866303a32aae7cbc8249cd122b57be1c (diff) |
Typo: ImplGetSelectEntryPos -> ImplGetSelectedEntryPos
Change-Id: I19233d37b2d72bef73659ddbb6d116d2632145c1
Reviewed-on: https://gerrit.libreoffice.org/51748
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/dialog/langbox.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/svx/source/dialog/langbox.cxx b/svx/source/dialog/langbox.cxx index f69eaefa74f7..6778ccc7fab3 100644 --- a/svx/source/dialog/langbox.cxx +++ b/svx/source/dialog/langbox.cxx @@ -447,7 +447,7 @@ void SvxLanguageBoxBase::RemoveLanguage( const LanguageType eLangType ) LanguageType SvxLanguageBoxBase::GetSelectedLanguage() const { - sal_Int32 nPos = ImplGetSelectEntryPos(); + sal_Int32 nPos = ImplGetSelectedEntryPos(); if ( nPos != LISTBOX_ENTRY_NOTFOUND ) return LanguageType( reinterpret_cast<sal_uIntPtr>(ImplGetEntryData(nPos)) ); @@ -514,7 +514,7 @@ void SvxLanguageBoxBase::SaveValueLBB() sal_Int32 SvxLanguageBoxBase::GetSelectedEntryPosLBB() const { - return ImplGetSelectEntryPos(); + return ImplGetSelectedEntryPos(); } void* SvxLanguageBoxBase::GetEntryDataLBB( sal_Int32 nPos ) const @@ -859,12 +859,12 @@ void SvxLanguageComboBox::ImplSetEntryData( sal_Int32 nPos, void* pData ) } -sal_Int32 SvxLanguageBox::ImplGetSelectEntryPos() const +sal_Int32 SvxLanguageBox::ImplGetSelectedEntryPos() const { return GetSelectedEntryPos(); } -sal_Int32 SvxLanguageComboBox::ImplGetSelectEntryPos() const +sal_Int32 SvxLanguageComboBox::ImplGetSelectedEntryPos() const { return GetSelectedEntryPos(); } @@ -986,7 +986,7 @@ IMPL_LINK_NOARG( SvxLanguageComboBox, EditModifyHdl, Edit&, void ) // Select the corresponding listbox entry if not current. This // invalidates the Edit Selection thus has to happen between // obtaining the Selection and setting the new Selection. - sal_Int32 nSelPos = ImplGetSelectEntryPos(); + sal_Int32 nSelPos = ImplGetSelectedEntryPos(); bool bSetEditSelection; if (nSelPos == nPos) bSetEditSelection = false; |