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 /svtools/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 'svtools/source')
-rw-r--r-- | svtools/source/dialogs/PlaceEditDialog.cxx | 8 | ||||
-rw-r--r-- | svtools/source/dialogs/addresstemplate.cxx | 4 | ||||
-rw-r--r-- | svtools/source/dialogs/prnsetup.cxx | 6 | ||||
-rw-r--r-- | svtools/source/filter/exportdialog.cxx | 2 |
4 files changed, 10 insertions, 10 deletions
diff --git a/svtools/source/dialogs/PlaceEditDialog.cxx b/svtools/source/dialogs/PlaceEditDialog.cxx index 0c878a71dea1..f4ea43e2a29d 100644 --- a/svtools/source/dialogs/PlaceEditDialog.cxx +++ b/svtools/source/dialogs/PlaceEditDialog.cxx @@ -215,7 +215,7 @@ void PlaceEditDialog::InitDetails( ) // Set default to first value m_pLBServerType->SelectEntryPos( 0 ); - if ( m_pLBServerType->GetSelectEntry() == "--------------------" ) + if ( m_pLBServerType->GetSelectedEntry() == "--------------------" ) m_pLBServerType->SelectEntryPos( 1 ); SelectTypeHdl( *m_pLBServerType ); @@ -273,14 +273,14 @@ IMPL_LINK_NOARG( PlaceEditDialog, EditHdl, DetailsContainer*, void ) nLength = sUser.getLength(); sLabel = sLabel.replaceFirst( "$user$", sUser.copy( 0, nLength ) ); - sLabel = sLabel.replaceFirst( "$service$", m_pLBServerType->GetSelectEntry() ); + sLabel = sLabel.replaceFirst( "$service$", m_pLBServerType->GetSelectedEntry() ); m_pEDServerName->SetText( sLabel ); bLabelChanged = false; } else { - m_pEDServerName->SetText( m_pLBServerType->GetSelectEntry( ) ); + m_pEDServerName->SetText( m_pLBServerType->GetSelectedEntry( ) ); } } @@ -314,7 +314,7 @@ IMPL_LINK_NOARG( PlaceEditDialog, EditUsernameHdl, Edit&, void ) IMPL_LINK_NOARG( PlaceEditDialog, SelectTypeHdl, ListBox&, void ) { - if ( m_pLBServerType->GetSelectEntry() == "--------------------" ) + if ( m_pLBServerType->GetSelectedEntry() == "--------------------" ) { if( !m_pLBServerType->IsTravelSelect() ) m_pLBServerType->SelectEntryPos( m_nCurrentType ); diff --git a/svtools/source/dialogs/addresstemplate.cxx b/svtools/source/dialogs/addresstemplate.cxx index 99389a084066..8a16ab3a3091 100644 --- a/svtools/source/dialogs/addresstemplate.cxx +++ b/svtools/source/dialogs/addresstemplate.cxx @@ -911,7 +911,7 @@ void AssignmentPersistentData::ImplCommit() for (sal_Int32 i=0; i<FIELD_CONTROLS_VISIBLE; ++i, ++aInitialSelection) { VclPtr<ListBox>& pListbox = m_pImpl->pFields[i]; - sSaveSelection = pListbox->GetSelectEntry(); + sSaveSelection = pListbox->GetSelectedEntry(); pListbox->Clear(); @@ -961,7 +961,7 @@ void AssignmentPersistentData::ImplCommit() m_pImpl->aFieldAssignments[m_pImpl->nFieldScrollPos * 2 + nListBoxIndex].clear(); else // it's a regular field entry - m_pImpl->aFieldAssignments[m_pImpl->nFieldScrollPos * 2 + nListBoxIndex] = _rListbox.GetSelectEntry(); + m_pImpl->aFieldAssignments[m_pImpl->nFieldScrollPos * 2 + nListBoxIndex] = _rListbox.GetSelectedEntry(); } diff --git a/svtools/source/dialogs/prnsetup.cxx b/svtools/source/dialogs/prnsetup.cxx index 7016948fa228..22b6662d5e9a 100644 --- a/svtools/source/dialogs/prnsetup.cxx +++ b/svtools/source/dialogs/prnsetup.cxx @@ -55,7 +55,7 @@ Printer* ImplPrnDlgListBoxSelect( ListBox const * pBox, PushButton* pPropBtn, VclPtr<Printer> pTempPrinter( pTempPrinterIn ); if ( pBox->GetSelectEntryPos() != LISTBOX_ENTRY_NOTFOUND ) { - const QueueInfo* pInfo = Printer::GetQueueInfo( pBox->GetSelectEntry(), true ); + const QueueInfo* pInfo = Printer::GetQueueInfo( pBox->GetSelectedEntry(), true ); if( pInfo) { if ( !pTempPrinter ) @@ -111,7 +111,7 @@ void ImplPrnDlgUpdateQueueInfo( ListBox const * pBox, QueueInfo& rInfo ) { if ( pBox->GetSelectEntryPos() != LISTBOX_ENTRY_NOTFOUND ) { - const QueueInfo* pInfo = Printer::GetQueueInfo( pBox->GetSelectEntry(), true ); + const QueueInfo* pInfo = Printer::GetQueueInfo( pBox->GetSelectedEntry(), true ); if( pInfo ) rInfo = *pInfo; } @@ -262,7 +262,7 @@ void PrinterSetupDialog::SetOptionsHdl( const Link<Button*,void>& rLink ) void PrinterSetupDialog::ImplSetInfo() { - const QueueInfo* pInfo = Printer::GetQueueInfo(m_pLbName->GetSelectEntry(), true); + const QueueInfo* pInfo = Printer::GetQueueInfo(m_pLbName->GetSelectedEntry(), true); if ( pInfo ) { m_pFiType->SetText( pInfo->GetDriver() ); diff --git a/svtools/source/filter/exportdialog.cxx b/svtools/source/filter/exportdialog.cxx index 3de009f3daef..57942a39f32a 100644 --- a/svtools/source/filter/exportdialog.cxx +++ b/svtools/source/filter/exportdialog.cxx @@ -546,7 +546,7 @@ sal_uInt32 ExportDialog::GetRawFileSize() const if ( mbIsPixelFormat ) { sal_Int32 nBitsPerPixel = 24; - OUString aEntry( mpLbColorDepth->GetSelectEntry() ); + OUString aEntry( mpLbColorDepth->GetSelectedEntry() ); if ( ms1BitTreshold == aEntry ) nBitsPerPixel = 1; else if ( ms1BitDithered == aEntry ) |