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 /include | |
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 'include')
-rw-r--r-- | include/i18nlangtag/mslangid.hxx | 8 | ||||
-rw-r--r-- | include/svtools/langtab.hxx | 9 |
2 files changed, 1 insertions, 16 deletions
diff --git a/include/i18nlangtag/mslangid.hxx b/include/i18nlangtag/mslangid.hxx index 1b0d6594ec97..668be8c28d30 100644 --- a/include/i18nlangtag/mslangid.hxx +++ b/include/i18nlangtag/mslangid.hxx @@ -163,14 +163,8 @@ public: Also used to map UI localizations using reserved ISO codes to something "official" but not identical in order to not pollute documents with invalid ISO codes. - - @param bUserInterfaceSelection - If TRUE, don't replace such UI-only locale. Only use for - Tools->Options->LanguageSettings->UserInterface listbox. - If FALSE, do replace. */ - static LanguageType getReplacementForObsoleteLanguage( LanguageType nLang, - bool bUserInterfaceSelection = false ); + static LanguageType getReplacementForObsoleteLanguage( LanguageType nLang ); /** Whether locale is legacy, i.e. country ot confederation doesn't exist anymore. */ static bool isLegacy( LanguageType nLang ); diff --git a/include/svtools/langtab.hxx b/include/svtools/langtab.hxx index 5cfe392a10ab..8c78002fe9bd 100644 --- a/include/svtools/langtab.hxx +++ b/include/svtools/langtab.hxx @@ -35,15 +35,6 @@ public: static sal_uInt32 GetLanguageEntryCount(); static LanguageType GetLanguageTypeAtIndex( sal_uInt32 nIndex ); - /** - @param bUserInterfaceSelection - If TRUE, don't replace an UI-only locale. Only use for - Tools->Options->LanguageSettings->UserInterface listbox. - If FALSE, do replace; same as GetLanguageString() without bool - parameter. - */ - static OUString GetLanguageString( const LanguageType eType, bool bUserInterfaceSelection ); - /** Add a language tag to the table. @param rString |