diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-04-24 11:50:04 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-04-24 15:45:22 +0200 |
commit | e0097fea5a761747c1c1ce19a0873d7a760c4c37 (patch) | |
tree | 032417cc266671f1a630f1db9b16f4a93eafd707 /cui | |
parent | f747797772e39d77a664845bdd66378524829ea3 (diff) |
loplugin:checkunusedparams in i18nlangtag and l10ntools
Change-Id: If7c7404b1cc1cf9445a2af8106f7326b76524388
Reviewed-on: https://gerrit.libreoffice.org/36883
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/options/optgdlg.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cui/source/options/optgdlg.cxx b/cui/source/options/optgdlg.cxx index 88ff6ec40669..07496d9e6c26 100644 --- a/cui/source/options/optgdlg.cxx +++ b/cui/source/options/optgdlg.cxx @@ -1156,7 +1156,7 @@ OfaLanguagesTabPage::OfaLanguagesTabPage(vcl::Window* pParent, const SfxItemSet& OUString aUILang = m_sSystemDefaultString + " - " + - SvtLanguageTable::GetLanguageString(GetInstalledLocaleForSystemUILanguage().getLanguageType(), true); + SvtLanguageTable::GetLanguageString(GetInstalledLocaleForSystemUILanguage().getLanguageType()); m_pUserInterfaceLB->InsertEntry(aUILang); m_pUserInterfaceLB->SetEntryData(0, nullptr); @@ -1180,8 +1180,7 @@ OfaLanguagesTabPage::OfaLanguagesTabPage(vcl::Window* pParent, const SfxItemSet& aLang = LanguageTag::convertToLanguageTypeWithFallback(seqInstalledLanguages[i]); if (aLang != LANGUAGE_DONTKNOW) { - //sal_uInt16 p = m_pUserInterfaceLB->InsertLanguage(aLang); - OUString aLangStr( SvtLanguageTable::GetLanguageString( aLang, true ) ); + OUString aLangStr( SvtLanguageTable::GetLanguageString( aLang ) ); const sal_Int32 p = m_pUserInterfaceLB->InsertEntry(aLangStr); m_pUserInterfaceLB->SetEntryData(p, reinterpret_cast<void*>(i+1)); } |