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 --- cui/source/options/fontsubs.cxx | 6 +++--- cui/source/options/optchart.cxx | 2 +- cui/source/options/optcolor.cxx | 6 +++--- cui/source/options/optdict.cxx | 2 +- cui/source/options/optjava.cxx | 6 +++--- cui/source/options/optsave.cxx | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) (limited to 'cui/source/options') diff --git a/cui/source/options/fontsubs.cxx b/cui/source/options/fontsubs.cxx index f059f064f8c8..0dfb9adcca7b 100644 --- a/cui/source/options/fontsubs.cxx +++ b/cui/source/options/fontsubs.cxx @@ -188,7 +188,7 @@ bool SvxFontSubstTabPage::FillItemSet( SfxItemSet* ) comphelper::ConfigurationChanges::create()); if(m_pFontHeightLB->IsValueChangedFromSaved()) officecfg::Office::Common::Font::SourceViewFont::FontHeight::set( - static_cast< sal_Int16 >(m_pFontHeightLB->GetSelectEntry().toInt32()), + static_cast< sal_Int16 >(m_pFontHeightLB->GetSelectedEntry().toInt32()), batch); if(m_pNonPropFontsOnlyCB->IsValueChangedFromSaved()) officecfg::Office::Common::Font::SourceViewFont:: @@ -197,7 +197,7 @@ bool SvxFontSubstTabPage::FillItemSet( SfxItemSet* ) //font name changes cannot be detected by saved values OUString sFontName; if(m_pFontNameLB->GetSelectEntryPos()) - sFontName = m_pFontNameLB->GetSelectEntry(); + sFontName = m_pFontNameLB->GetSelectedEntry(); officecfg::Office::Common::Font::SourceViewFont::FontName::set( boost::optional< OUString >(sFontName), batch); batch->commit(); @@ -345,7 +345,7 @@ void SvxFontSubstTabPage::SelectHdl(vcl::Window const * pWin) IMPL_LINK(SvxFontSubstTabPage, NonPropFontsHdl, Button*, pBox, void) { - OUString sFontName = m_pFontNameLB->GetSelectEntry(); + OUString sFontName = m_pFontNameLB->GetSelectedEntry(); bool bNonPropOnly = static_cast(pBox)->IsChecked(); m_pFontNameLB->Clear(); FontList aFntLst( Application::GetDefaultDevice() ); diff --git a/cui/source/options/optchart.cxx b/cui/source/options/optchart.cxx index dc74bcaa36cf..030dd28a4739 100644 --- a/cui/source/options/optchart.cxx +++ b/cui/source/options/optchart.cxx @@ -334,7 +334,7 @@ IMPL_LINK_NOARG(SvxDefaultColorOptPage, BoxClickedHdl, ValueSet*, void) sal_Int32 nIdx = m_pLbChartColors->GetSelectEntryPos(); if( nIdx != LISTBOX_ENTRY_NOTFOUND ) { - const XColorEntry aEntry( m_pValSetColorBox->GetItemColor( m_pValSetColorBox->GetSelectItemId() ), m_pLbChartColors->GetSelectEntry() ); + const XColorEntry aEntry( m_pValSetColorBox->GetItemColor( m_pValSetColorBox->GetSelectItemId() ), m_pLbChartColors->GetSelectedEntry() ); ModifyColorEntry(aEntry, nIdx); pColorConfig->ReplaceColorByIndex( nIdx, aEntry ); diff --git a/cui/source/options/optcolor.cxx b/cui/source/options/optcolor.cxx index eb47a81dee74..7223e2f4b1a2 100644 --- a/cui/source/options/optcolor.cxx +++ b/cui/source/options/optcolor.cxx @@ -1097,8 +1097,8 @@ void SvxColorOptionsTabPage::UpdateColorConfig() IMPL_LINK(SvxColorOptionsTabPage, SchemeChangedHdl_Impl, ListBox&, rBox, void) { - pColorConfig->LoadScheme(rBox.GetSelectEntry()); - pExtColorConfig->LoadScheme(rBox.GetSelectEntry()); + pColorConfig->LoadScheme(rBox.GetSelectedEntry()); + pExtColorConfig->LoadScheme(rBox.GetSelectedEntry()); UpdateColorConfig(); } @@ -1134,7 +1134,7 @@ IMPL_LINK(SvxColorOptionsTabPage, SaveDeleteHdl_Impl, Button*, pButton, void ) aQuery->SetText(CuiResId(RID_SVXSTR_COLOR_CONFIG_DELETE_TITLE)); if(RET_YES == aQuery->Execute()) { - OUString sDeleteScheme(m_pColorSchemeLB->GetSelectEntry()); + OUString sDeleteScheme(m_pColorSchemeLB->GetSelectedEntry()); m_pColorSchemeLB->RemoveEntry(m_pColorSchemeLB->GetSelectEntryPos()); m_pColorSchemeLB->SelectEntryPos(0); m_pColorSchemeLB->GetSelectHdl().Call(*m_pColorSchemeLB); diff --git a/cui/source/options/optdict.cxx b/cui/source/options/optdict.cxx index 9f2c1707e152..feb5326cdffe 100644 --- a/cui/source/options/optdict.cxx +++ b/cui/source/options/optdict.cxx @@ -451,7 +451,7 @@ IMPL_LINK_NOARG(SvxEditDictionaryDialog, SelectLangHdl_Impl, ListBox&, void) { ScopedVclPtrInstance< MessageDialog > aBox(this, CuiResId( RID_SVXSTR_CONFIRM_SET_LANGUAGE), VclMessageType::Question, VclButtonsType::YesNo); OUString sTxt(aBox->get_primary_text()); - sTxt = sTxt.replaceFirst( "%1", pAllDictsLB->GetSelectEntry() ); + sTxt = sTxt.replaceFirst( "%1", pAllDictsLB->GetSelectedEntry() ); aBox->set_primary_text(sTxt); if ( aBox->Execute() == RET_YES ) diff --git a/cui/source/options/optjava.cxx b/cui/source/options/optjava.cxx index a23b5d5942c5..5bd4b65ad062 100644 --- a/cui/source/options/optjava.cxx +++ b/cui/source/options/optjava.cxx @@ -809,7 +809,7 @@ void SvxJavaParameterDlg::EditParameter() if ( nPos != LISTBOX_ENTRY_NOTFOUND ) { ScopedVclPtrInstance< InputDialog > pParamEditDlg(CuiResId(RID_SVXSTR_JAVA_START_PARAM), this); - OUString editableClassPath = m_pAssignedList->GetSelectEntry(); + OUString editableClassPath = m_pAssignedList->GetSelectedEntry(); pParamEditDlg->SetEntryText( editableClassPath ); pParamEditDlg->HideHelpBtn(); @@ -914,7 +914,7 @@ IMPL_LINK_NOARG(SvxJavaClassPathDlg, AddArchiveHdl_Impl, Button*, void) OUString sFolder; if ( m_pPathList->GetSelectEntryCount() > 0 ) { - INetURLObject aObj( m_pPathList->GetSelectEntry(), FSysStyle::Detect ); + INetURLObject aObj( m_pPathList->GetSelectedEntry(), FSysStyle::Detect ); sFolder = aObj.GetMainURL( INetURLObject::DecodeMechanism::NONE ); } else @@ -949,7 +949,7 @@ IMPL_LINK_NOARG(SvxJavaClassPathDlg, AddPathHdl_Impl, Button*, void) OUString sOldFolder; if ( m_pPathList->GetSelectEntryCount() > 0 ) { - INetURLObject aObj( m_pPathList->GetSelectEntry(), FSysStyle::Detect ); + INetURLObject aObj( m_pPathList->GetSelectedEntry(), FSysStyle::Detect ); sOldFolder = aObj.GetMainURL( INetURLObject::DecodeMechanism::NONE ); } else diff --git a/cui/source/options/optsave.cxx b/cui/source/options/optsave.cxx index b1f59667294d..9876b2afa36a 100644 --- a/cui/source/options/optsave.cxx +++ b/cui/source/options/optsave.cxx @@ -612,7 +612,7 @@ IMPL_LINK( SvxSaveTabPage, FilterHdl_Impl, ListBox&, rBox, void ) } else { - OUString sSelect = rBox.GetSelectEntry(); + OUString sSelect = rBox.GetSelectedEntry(); const OUString* pFilters = pImpl->aFilterArr[nData].getConstArray(); OUString* pUIFilters = pImpl->aUIFilterArr[nData].getArray(); for(int i = 0; i < pImpl->aUIFilterArr[nData].getLength(); i++) -- cgit v1.2.3