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 /fpicker/source | |
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 'fpicker/source')
-rw-r--r-- | fpicker/source/office/OfficeControlAccess.cxx | 6 | ||||
-rw-r--r-- | fpicker/source/office/RemoteFilesDialog.cxx | 10 |
2 files changed, 8 insertions, 8 deletions
diff --git a/fpicker/source/office/OfficeControlAccess.cxx b/fpicker/source/office/OfficeControlAccess.cxx index 848142393c25..1b30f285734b 100644 --- a/fpicker/source/office/OfficeControlAccess.cxx +++ b/fpicker/source/office/OfficeControlAccess.cxx @@ -720,7 +720,7 @@ namespace svt DBG_ASSERT( WindowType::LISTBOX == _pControl->GetType(), "OControlAccess::implGetControlProperty: invalid control/property combination!" ); - sal_Int32 nSelected = static_cast< ListBox const * >( _pControl )->GetSelectEntryPos(); + sal_Int32 nSelected = static_cast< ListBox const * >( _pControl )->GetSelectedEntryPos(); OUString sSelected; if ( LISTBOX_ENTRY_NOTFOUND != nSelected ) sSelected = static_cast< ListBox const * >( _pControl )->GetSelectedEntry(); @@ -733,9 +733,9 @@ namespace svt DBG_ASSERT( WindowType::LISTBOX == _pControl->GetType(), "OControlAccess::implGetControlProperty: invalid control/property combination!" ); - sal_Int32 nSelected = static_cast< ListBox const * >( _pControl )->GetSelectEntryPos(); + sal_Int32 nSelected = static_cast< ListBox const * >( _pControl )->GetSelectedEntryPos(); if ( LISTBOX_ENTRY_NOTFOUND != nSelected ) - aReturn <<= static_cast< ListBox const * >( _pControl )->GetSelectEntryPos(); + aReturn <<= static_cast< ListBox const * >( _pControl )->GetSelectedEntryPos(); else aReturn <<= (sal_Int32)-1; } diff --git a/fpicker/source/office/RemoteFilesDialog.cxx b/fpicker/source/office/RemoteFilesDialog.cxx index 03ff057041dc..c6fcaa0217a9 100644 --- a/fpicker/source/office/RemoteFilesDialog.cxx +++ b/fpicker/source/office/RemoteFilesDialog.cxx @@ -522,7 +522,7 @@ void RemoteFilesDialog::FillServicesListbox() int RemoteFilesDialog::GetSelectedServicePos() { - int nSelected = m_pServices_lb->GetSelectEntryPos(); + int nSelected = m_pServices_lb->GetSelectedEntryPos(); int nPos = 0; int i = -1; @@ -553,7 +553,7 @@ void RemoteFilesDialog::AddFilter( const OUString& rFilter, const OUString& rTyp m_aFilters.emplace_back( rFilter, rType ); m_pFilter_lb->InsertEntry( sName ); - if( m_pFilter_lb->GetSelectEntryPos() == LISTBOX_ENTRY_NOTFOUND ) + if( m_pFilter_lb->GetSelectedEntryPos() == LISTBOX_ENTRY_NOTFOUND ) m_pFilter_lb->SelectEntryPos( 0 ); } @@ -806,7 +806,7 @@ IMPL_LINK ( RemoteFilesDialog, EditServiceMenuHdl, MenuButton *, pButton, void ) OString sIdent( pButton->GetCurItemIdent() ); if( sIdent == "edit_service" && m_pServices_lb->GetEntryCount() > 0 ) { - unsigned int nSelected = m_pServices_lb->GetSelectEntryPos(); + unsigned int nSelected = m_pServices_lb->GetSelectedEntryPos(); int nPos = GetSelectedServicePos(); if( nPos >= 0 ) @@ -846,7 +846,7 @@ IMPL_LINK ( RemoteFilesDialog, EditServiceMenuHdl, MenuButton *, pButton, void ) } if( sIdent == "delete_service" && m_pServices_lb->GetEntryCount() > 0 ) { - unsigned int nSelected = m_pServices_lb->GetSelectEntryPos(); + unsigned int nSelected = m_pServices_lb->GetSelectedEntryPos(); int nPos = GetSelectedServicePos(); if( nPos >= 0 ) @@ -1041,7 +1041,7 @@ IMPL_LINK_NOARG( RemoteFilesDialog, SplitHdl, Splitter*, void ) IMPL_LINK_NOARG( RemoteFilesDialog, SelectFilterHdl, ListBox&, void ) { - unsigned int nPos = m_pFilter_lb->GetSelectEntryPos(); + unsigned int nPos = m_pFilter_lb->GetSelectedEntryPos(); if( nPos != LISTBOX_ENTRY_NOTFOUND && !m_aFilters[nPos].second.isEmpty() ) { |