diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-03-24 08:54:35 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-03-24 15:06:24 +0100 |
commit | ceb8f5d62c7afc5547c9a6de8eb570a11b5fbd67 (patch) | |
tree | 2782cb4bb3adfe5ad11caa8f5a9c18b82bb03ee4 /include/i18nlangtag | |
parent | 86fac2109d3b5e159628aee6392ecc856fb8a5a6 (diff) |
loplugin:constantparam
Change-Id: I86592be0717c062a918108bf4437074b0f70b372
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132029
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/i18nlangtag')
-rw-r--r-- | include/i18nlangtag/languagetag.hxx | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/include/i18nlangtag/languagetag.hxx b/include/i18nlangtag/languagetag.hxx index 500f84da00f7..3b5fb3d6d445 100644 --- a/include/i18nlangtag/languagetag.hxx +++ b/include/i18nlangtag/languagetag.hxx @@ -510,13 +510,10 @@ public: /** Convert Locale to MS-LangID with fallback. - @param bResolveSystem - If TRUE, resolve an empty language tag denoting the system - locale to the real locale used and fallback. - If FALSE, return LANGUAGE_SYSTEM for such a tag and do not fallback. + Resolves an empty language tag denoting the system + locale to LANGUAGE_SYSTEM and does not fallback. */ - static LanguageType convertToLanguageTypeWithFallback( const css::lang::Locale& rLocale, - bool bResolveSystem = true ); + static LanguageType convertToLanguageTypeWithFallback( const css::lang::Locale& rLocale ); /** If rString represents a valid BCP 47 language tag. |