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/dialogs/PlaceEditDialog.cxx | |
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/dialogs/PlaceEditDialog.cxx')
-rw-r--r-- | svtools/source/dialogs/PlaceEditDialog.cxx | 8 |
1 files changed, 4 insertions, 4 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 ); |