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 /toolkit | |
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 'toolkit')
-rw-r--r-- | toolkit/source/awt/vclxwindows.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/toolkit/source/awt/vclxwindows.cxx b/toolkit/source/awt/vclxwindows.cxx index 8eea2d7b3013..1d7186ce3486 100644 --- a/toolkit/source/awt/vclxwindows.cxx +++ b/toolkit/source/awt/vclxwindows.cxx @@ -1623,7 +1623,7 @@ sal_Int16 VCLXListBox::getSelectedItemPos() { SolarMutexGuard aGuard; VclPtr< ListBox > pBox = GetAs< ListBox >(); - return pBox ? pBox->GetSelectEntryPos() : 0; + return pBox ? pBox->GetSelectedEntryPos() : 0; } css::uno::Sequence<sal_Int16> VCLXListBox::getSelectedItemsPos() @@ -1637,7 +1637,7 @@ css::uno::Sequence<sal_Int16> VCLXListBox::getSelectedItemsPos() const sal_Int32 nSelEntries = pBox->GetSelectEntryCount(); aSeq = css::uno::Sequence<sal_Int16>( nSelEntries ); for ( sal_Int32 n = 0; n < nSelEntries; ++n ) - aSeq.getArray()[n] = pBox->GetSelectEntryPos( n ); + aSeq.getArray()[n] = pBox->GetSelectedEntryPos( n ); } return aSeq; } @@ -2027,7 +2027,7 @@ void VCLXListBox::ImplCallItemListeners() aEvent.Highlighted = 0; // Set to 0xFFFF on multiple selection, selected entry ID otherwise - aEvent.Selected = (pListBox->GetSelectEntryCount() == 1 ) ? pListBox->GetSelectEntryPos() : 0xFFFF; + aEvent.Selected = (pListBox->GetSelectEntryCount() == 1 ) ? pListBox->GetSelectedEntryPos() : 0xFFFF; maItemListeners.itemStateChanged( aEvent ); } |