diff options
author | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2017-09-14 17:00:06 +0200 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2017-09-25 10:00:46 +0200 |
commit | 83de03e077d219c881626de43960ae4756284371 (patch) | |
tree | 2d582083e3c060139699b075565f55f872edb7b1 /toolkit | |
parent | 4d5e9db574bdb1a7517ffda01efe0746cc058d47 (diff) |
Rename GetSelectEntryCount -> GetSelectedEntryCount
Change-Id: I405b347b404ed0acb3b6a0204e0b914a7698ce25
Reviewed-on: https://gerrit.libreoffice.org/42284
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'toolkit')
-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 1d7186ce3486..4a6be791223d 100644 --- a/toolkit/source/awt/vclxwindows.cxx +++ b/toolkit/source/awt/vclxwindows.cxx @@ -1634,7 +1634,7 @@ css::uno::Sequence<sal_Int16> VCLXListBox::getSelectedItemsPos() VclPtr< ListBox > pBox = GetAs< ListBox >(); if ( pBox ) { - const sal_Int32 nSelEntries = pBox->GetSelectEntryCount(); + const sal_Int32 nSelEntries = pBox->GetSelectedEntryCount(); aSeq = css::uno::Sequence<sal_Int16>( nSelEntries ); for ( sal_Int32 n = 0; n < nSelEntries; ++n ) aSeq.getArray()[n] = pBox->GetSelectedEntryPos( n ); @@ -1661,7 +1661,7 @@ css::uno::Sequence< OUString> VCLXListBox::getSelectedItems() VclPtr< ListBox > pBox = GetAs< ListBox >(); if ( pBox ) { - const sal_Int32 nSelEntries = pBox->GetSelectEntryCount(); + const sal_Int32 nSelEntries = pBox->GetSelectedEntryCount(); aSeq = css::uno::Sequence< OUString>( nSelEntries ); for ( sal_Int32 n = 0; n < nSelEntries; ++n ) aSeq.getArray()[n] = pBox->GetSelectedEntry( n ); @@ -1893,7 +1893,7 @@ void VCLXListBox::setProperty( const OUString& PropertyName, const css::uno::Any else pListBox->SetNoSelection(); - if ( !pListBox->GetSelectEntryCount() ) + if ( !pListBox->GetSelectedEntryCount() ) pListBox->SetTopEntry( 0 ); } } @@ -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->GetSelectedEntryPos() : 0xFFFF; + aEvent.Selected = (pListBox->GetSelectedEntryCount() == 1 ) ? pListBox->GetSelectedEntryPos() : 0xFFFF; maItemListeners.itemStateChanged( aEvent ); } |