summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-03-09 08:37:24 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-03-11 07:13:11 +0100
commitf011a01d4b1fc6fd9cdd4178dd2651a51cd897dc (patch)
tree3374e999e464f54c7bde5f2530067ae86cf0f4a0 /cui
parent87b44efa2a21279d22a3350b3a3d497284621d52 (diff)
loplugin:constantparam
Change-Id: Ibe167c208844b4cdd10df80ae804b1e5bfa6aa13 Reviewed-on: https://gerrit.libreoffice.org/68998 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui')
-rw-r--r--cui/source/dialogs/SpellDialog.cxx2
-rw-r--r--cui/source/options/optasian.cxx2
-rw-r--r--cui/source/options/optgdlg.cxx8
3 files changed, 6 insertions, 6 deletions
diff --git a/cui/source/dialogs/SpellDialog.cxx b/cui/source/dialogs/SpellDialog.cxx
index 6f5432a63786..c0af1fc96957 100644
--- a/cui/source/dialogs/SpellDialog.cxx
+++ b/cui/source/dialogs/SpellDialog.cxx
@@ -292,7 +292,7 @@ void SpellDialog::Init_Impl()
m_pLanguageLB->SetSelectHdl(LINK( this, SpellDialog, LanguageSelectHdl ) );
// initialize language ListBox
- m_pLanguageLB->SetLanguageList( SvxLanguageListFlags::SPELL_USED, false, false, true );
+ m_pLanguageLB->SetLanguageList( SvxLanguageListFlags::SPELL_USED, false, true );
m_pSentenceED->ClearModifyFlag();
LinguMgr::GetChangeAllList()->clear();
diff --git a/cui/source/options/optasian.cxx b/cui/source/options/optasian.cxx
index 3c202e8a4ae8..8c4dc9e90e0d 100644
--- a/cui/source/options/optasian.cxx
+++ b/cui/source/options/optasian.cxx
@@ -127,7 +127,7 @@ SvxAsianLayoutPage::SvxAsianLayoutPage( vcl::Window* pParent, const SfxItemSet&
m_pStartED->SetModifyHdl(aLk);
m_pEndED->SetModifyHdl(aLk);
- m_pLanguageLB->SetLanguageList( SvxLanguageListFlags::FBD_CHARS, false );
+ m_pLanguageLB->SetLanguageList( SvxLanguageListFlags::FBD_CHARS, false, false );
}
SvxAsianLayoutPage::~SvxAsianLayoutPage()
diff --git a/cui/source/options/optgdlg.cxx b/cui/source/options/optgdlg.cxx
index c704eacada54..a7f1a7ea96f6 100644
--- a/cui/source/options/optgdlg.cxx
+++ b/cui/source/options/optgdlg.cxx
@@ -1232,14 +1232,14 @@ OfaLanguagesTabPage::OfaLanguagesTabPage(vcl::Window* pParent, const SfxItemSet&
SAL_WARN("cui.options", "ignoring " << e);
}
- m_pWesternLanguageLB->SetLanguageList( SvxLanguageListFlags::WESTERN | SvxLanguageListFlags::ONLY_KNOWN, true, false, true );
+ m_pWesternLanguageLB->SetLanguageList( SvxLanguageListFlags::WESTERN | SvxLanguageListFlags::ONLY_KNOWN, true, true );
m_pWesternLanguageLB->InsertDefaultLanguage( css::i18n::ScriptType::LATIN );
- m_pAsianLanguageLB->SetLanguageList( SvxLanguageListFlags::CJK | SvxLanguageListFlags::ONLY_KNOWN, true, false, true );
+ m_pAsianLanguageLB->SetLanguageList( SvxLanguageListFlags::CJK | SvxLanguageListFlags::ONLY_KNOWN, true, true );
m_pAsianLanguageLB->InsertDefaultLanguage( css::i18n::ScriptType::ASIAN );
- m_pComplexLanguageLB->SetLanguageList( SvxLanguageListFlags::CTL | SvxLanguageListFlags::ONLY_KNOWN, true, false, true );
+ m_pComplexLanguageLB->SetLanguageList( SvxLanguageListFlags::CTL | SvxLanguageListFlags::ONLY_KNOWN, true, true );
m_pComplexLanguageLB->InsertDefaultLanguage( css::i18n::ScriptType::COMPLEX );
- m_pLocaleSettingLB->SetLanguageList( SvxLanguageListFlags::ALL | SvxLanguageListFlags::ONLY_KNOWN, false );
+ m_pLocaleSettingLB->SetLanguageList( SvxLanguageListFlags::ALL | SvxLanguageListFlags::ONLY_KNOWN, false, false );
m_pLocaleSettingLB->InsertSystemLanguage( );
const NfCurrencyTable& rCurrTab = SvNumberFormatter::GetTheCurrencyTable();