From ceb8f5d62c7afc5547c9a6de8eb570a11b5fbd67 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 24 Mar 2022 08:54:35 +0200 Subject: loplugin:constantparam Change-Id: I86592be0717c062a918108bf4437074b0f70b372 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132029 Tested-by: Jenkins Reviewed-by: Noel Grandin --- include/i18nlangtag/languagetag.hxx | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'include/i18nlangtag') 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. -- cgit