diff options
author | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2017-09-14 16:50:25 +0200 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2017-09-21 12:44:00 +0200 |
commit | b649e5bf1d3f0a11fb0c2fdf6fa08329529ce6fb (patch) | |
tree | bd6937a0ece320c9545774dd5c9a68c68d04769e /toolkit/source | |
parent | 06ce312f79cb0871c0b110ba4bff16f5aaa0f538 (diff) |
Rename GetSelectEntry -> GetSelectedEntry
Change-Id: Ibb7d8c59c0e61b0e87455bd78f241d8691dd9dce
Reviewed-on: https://gerrit.libreoffice.org/42282
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'toolkit/source')
-rw-r--r-- | toolkit/source/awt/vclxwindows.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/toolkit/source/awt/vclxwindows.cxx b/toolkit/source/awt/vclxwindows.cxx index ecb8625a09bc..8eea2d7b3013 100644 --- a/toolkit/source/awt/vclxwindows.cxx +++ b/toolkit/source/awt/vclxwindows.cxx @@ -1649,7 +1649,7 @@ OUString VCLXListBox::getSelectedItem() OUString aItem; VclPtr< ListBox > pBox = GetAs< ListBox >(); if ( pBox ) - aItem = pBox->GetSelectEntry(); + aItem = pBox->GetSelectedEntry(); return aItem; } @@ -1664,7 +1664,7 @@ css::uno::Sequence< OUString> VCLXListBox::getSelectedItems() const sal_Int32 nSelEntries = pBox->GetSelectEntryCount(); aSeq = css::uno::Sequence< OUString>( nSelEntries ); for ( sal_Int32 n = 0; n < nSelEntries; ++n ) - aSeq.getArray()[n] = pBox->GetSelectEntry( n ); + aSeq.getArray()[n] = pBox->GetSelectedEntry( n ); } return aSeq; } @@ -1795,7 +1795,7 @@ void VCLXListBox::ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent ) // Call ActionListener on DropDown event css::awt::ActionEvent aEvent; aEvent.Source = static_cast<cppu::OWeakObject*>(this); - aEvent.ActionCommand = pListBox->GetSelectEntry(); + aEvent.ActionCommand = pListBox->GetSelectedEntry(); maActionListeners.actionPerformed( aEvent ); } @@ -1812,7 +1812,7 @@ void VCLXListBox::ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent ) { css::awt::ActionEvent aEvent; aEvent.Source = static_cast<cppu::OWeakObject*>(this); - aEvent.ActionCommand = GetAs<ListBox>()->GetSelectEntry(); + aEvent.ActionCommand = GetAs<ListBox>()->GetSelectedEntry(); maActionListeners.actionPerformed( aEvent ); } break; |