From b649e5bf1d3f0a11fb0c2fdf6fa08329529ce6fb Mon Sep 17 00:00:00 2001 From: Samuel Mehrbrodt Date: Thu, 14 Sep 2017 16:50:25 +0200 Subject: Rename GetSelectEntry -> GetSelectedEntry Change-Id: Ibb7d8c59c0e61b0e87455bd78f241d8691dd9dce Reviewed-on: https://gerrit.libreoffice.org/42282 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt --- extensions/source/abpilot/tableselectionpage.cxx | 2 +- extensions/source/bibliography/datman.cxx | 4 ++-- extensions/source/bibliography/toolbar.cxx | 2 +- extensions/source/dbpilots/commonpagesdbp.cxx | 8 ++++---- extensions/source/dbpilots/listcombowizard.cxx | 6 +++--- extensions/source/propctrlr/standardcontrol.cxx | 4 ++-- extensions/source/scanner/sanedlg.cxx | 6 +++--- 7 files changed, 16 insertions(+), 16 deletions(-) (limited to 'extensions') diff --git a/extensions/source/abpilot/tableselectionpage.cxx b/extensions/source/abpilot/tableselectionpage.cxx index 8cd92bb9a892..c8c2447a7a38 100644 --- a/extensions/source/abpilot/tableselectionpage.cxx +++ b/extensions/source/abpilot/tableselectionpage.cxx @@ -99,7 +99,7 @@ namespace abp return false; AddressSettings& rSettings = getSettings(); - rSettings.sSelectedTable = m_pTableList->GetSelectEntry(); + rSettings.sSelectedTable = m_pTableList->GetSelectedEntry(); return true; } diff --git a/extensions/source/bibliography/datman.cxx b/extensions/source/bibliography/datman.cxx index 54a00a7462a2..de05ae1df728 100644 --- a/extensions/source/bibliography/datman.cxx +++ b/extensions/source/bibliography/datman.cxx @@ -437,7 +437,7 @@ IMPL_LINK_NOARG(MappingDialog_Impl, OkHdl, Button*, void) BibConfig* pConfig = BibModul::GetConfig(); for(sal_uInt16 nEntry = 0; nEntry < COLUMN_COUNT; nEntry++) { - OUString sSel = aListBoxes[nEntry]->GetSelectEntry(); + OUString sSel = aListBoxes[nEntry]->GetSelectedEntry(); if(sSel != sNone) { aNew.aColumnPairs[nWriteIndex].sRealColumnName = sSel; @@ -519,7 +519,7 @@ void DBChangeDialog_Impl::dispose() OUString DBChangeDialog_Impl::GetCurrentURL()const { - return m_pSelectionLB->GetSelectEntry(); + return m_pSelectionLB->GetSelectedEntry(); } // XDispatchProvider diff --git a/extensions/source/bibliography/toolbar.cxx b/extensions/source/bibliography/toolbar.cxx index b7f9771d6c56..023ab3ef77e3 100644 --- a/extensions/source/bibliography/toolbar.cxx +++ b/extensions/source/bibliography/toolbar.cxx @@ -476,7 +476,7 @@ IMPL_LINK_NOARG( BibToolBar, SendSelHdl, Timer*, void ) Sequence aPropVal(1); PropertyValue* pPropertyVal = const_cast(aPropVal.getConstArray()); pPropertyVal[0].Name = "DataSourceName"; - OUString aEntry( MnemonicGenerator::EraseAllMnemonicChars( aLBSource->GetSelectEntry() ) ); + OUString aEntry( MnemonicGenerator::EraseAllMnemonicChars( aLBSource->GetSelectedEntry() ) ); pPropertyVal[0].Value <<= aEntry; SendDispatch(nTBC_LB_SOURCE, aPropVal); } diff --git a/extensions/source/dbpilots/commonpagesdbp.cxx b/extensions/source/dbpilots/commonpagesdbp.cxx index 680335d96e34..713507e5c2f4 100644 --- a/extensions/source/dbpilots/commonpagesdbp.cxx +++ b/extensions/source/dbpilots/commonpagesdbp.cxx @@ -178,10 +178,10 @@ namespace dbp { xOldConn = getFormConnection(); - OUString sDataSource = m_pDatasource->GetSelectEntry(); + OUString sDataSource = m_pDatasource->GetSelectedEntry(); rContext.xForm->setPropertyValue("DataSourceName", makeAny( sDataSource ) ); } - OUString sCommand = m_pTable->GetSelectEntry(); + OUString sCommand = m_pTable->GetSelectedEntry(); sal_Int32 nCommandType = reinterpret_cast< sal_IntPtr >( m_pTable->GetSelectEntryData() ); rContext.xForm->setPropertyValue("Command", makeAny( sCommand ) ); @@ -278,7 +278,7 @@ namespace dbp // connect to the data source try { - OUString sCurrentDatasource = m_pDatasource->GetSelectEntry(); + OUString sCurrentDatasource = m_pDatasource->GetSelectedEntry(); if (!sCurrentDatasource.isEmpty()) { // obtain the DS object @@ -421,7 +421,7 @@ namespace dbp void OMaybeListSelectionPage::implCommit(OUString& _rSelection) { - _rSelection = m_pYes->IsChecked() ? m_pList->GetSelectEntry() : OUString(); + _rSelection = m_pYes->IsChecked() ? m_pList->GetSelectedEntry() : OUString(); } diff --git a/extensions/source/dbpilots/listcombowizard.cxx b/extensions/source/dbpilots/listcombowizard.cxx index 17b6894fc5d9..4b9076bbc89e 100644 --- a/extensions/source/dbpilots/listcombowizard.cxx +++ b/extensions/source/dbpilots/listcombowizard.cxx @@ -340,7 +340,7 @@ namespace dbp return false; OListComboSettings& rSettings = getSettings(); - rSettings.sListContentTable = m_pSelectTable->GetSelectEntry(); + rSettings.sListContentTable = m_pSelectTable->GetSelectedEntry(); if (rSettings.sListContentTable.isEmpty() && (::svt::WizardTypes::eTravelBackward != _eReason)) // need to select a table return false; @@ -404,7 +404,7 @@ namespace dbp IMPL_LINK_NOARG( OContentFieldSelection, OnFieldSelected, ListBox&, void ) { updateDialogTravelUI(); - m_pDisplayedField->SetText(m_pSelectTableField->GetSelectEntry()); + m_pDisplayedField->SetText(m_pSelectTableField->GetSelectedEntry()); } @@ -413,7 +413,7 @@ namespace dbp if (!OLCPage::commitPage(_eReason)) return false; - getSettings().sListContentField = m_pSelectTableField->GetSelectEntry(); + getSettings().sListContentField = m_pSelectTableField->GetSelectedEntry(); return true; } diff --git a/extensions/source/propctrlr/standardcontrol.cxx b/extensions/source/propctrlr/standardcontrol.cxx index f566a8483eb5..8be81dbb32c1 100644 --- a/extensions/source/propctrlr/standardcontrol.cxx +++ b/extensions/source/propctrlr/standardcontrol.cxx @@ -696,7 +696,7 @@ namespace pcr Any SAL_CALL OListboxControl::getValue() { - OUString sControlValue( getTypedControlWindow()->GetSelectEntry() ); + OUString sControlValue( getTypedControlWindow()->GetSelectedEntry() ); Any aPropValue; if ( !sControlValue.isEmpty() ) @@ -720,7 +720,7 @@ namespace pcr OUString sSelection; _rValue >>= sSelection; - if ( sSelection != getTypedControlWindow()->GetSelectEntry() ) + if ( sSelection != getTypedControlWindow()->GetSelectedEntry() ) getTypedControlWindow()->SelectEntry( sSelection ); if ( !getTypedControlWindow()->IsEntrySelected( sSelection ) ) diff --git a/extensions/source/scanner/sanedlg.cxx b/extensions/source/scanner/sanedlg.cxx index 8bf4fb01fdab..df7598320afc 100644 --- a/extensions/source/scanner/sanedlg.cxx +++ b/extensions/source/scanner/sanedlg.cxx @@ -692,12 +692,12 @@ IMPL_LINK( SaneDlg, SelectHdl, ListBox&, rListBox, void ) { if( &rListBox == mpQuantumRangeBox ) { - double fValue = mpQuantumRangeBox->GetSelectEntry().toDouble(); + double fValue = mpQuantumRangeBox->GetSelectedEntry().toDouble(); mrSane.SetOptionValue( mnCurrentOption, fValue, mnCurrentElement ); } else if( &rListBox == mpStringRangeBox ) { - mrSane.SetOptionValue( mnCurrentOption, mpStringRangeBox->GetSelectEntry() ); + mrSane.SetOptionValue( mnCurrentOption, mpStringRangeBox->GetSelectedEntry() ); } } } @@ -1396,7 +1396,7 @@ void SaneDlg::SaveState() aConfig.DeleteGroup( "SANE" ); aConfig.SetGroup( "SANE" ); aConfig.WriteKey( "SO_LastSANEDevice", - OUStringToOString(mpDeviceBox->GetSelectEntry(), RTL_TEXTENCODING_UTF8) ); + OUStringToOString(mpDeviceBox->GetSelectedEntry(), RTL_TEXTENCODING_UTF8) ); static char const* pSaveOptions[] = { "resolution", -- cgit v1.2.3