diff options
author | Noel Grandin <noel@peralex.com> | 2016-03-03 13:04:59 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-03-03 11:39:56 +0000 |
commit | 5adde1bf69828da955f5f8ae8d36a4bd52eee055 (patch) | |
tree | 19b20375684dd8bb328ceb59a7b035ad7d352bd9 /include/i18nlangtag | |
parent | 83dccbadc2c6caa804039199915d4a8c1f3f2d5a (diff) |
loplugin:unuseddefaultparams various
Change-Id: Ibf8489c957b307156689de4c7cb8440ddd4e4546
Reviewed-on: https://gerrit.libreoffice.org/22852
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/i18nlangtag')
-rw-r--r-- | include/i18nlangtag/languagetag.hxx | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/include/i18nlangtag/languagetag.hxx b/include/i18nlangtag/languagetag.hxx index 0c54bfd6d110..2bbf0331d86f 100644 --- a/include/i18nlangtag/languagetag.hxx +++ b/include/i18nlangtag/languagetag.hxx @@ -239,7 +239,7 @@ public: /** Reset with existing BCP 47 language tag string. See ctor. */ - LanguageTag & reset( const OUString & rBcp47LanguageTag, bool bCanonicalize = false ); + LanguageTag & reset( const OUString & rBcp47LanguageTag ); /** Reset with Locale. */ LanguageTag & reset( const css::lang::Locale & rLocale ); @@ -411,12 +411,10 @@ public: /** Convert MS-LangID to BCP 47 string. - @param bResolveSystem - If TRUE, resolve an empty language tag denoting the system - locale to the real locale used. - If FALSE, return an empty OUString for such a tag. + Resolve an empty language tag denoting the system + locale to the real locale used. */ - static OUString convertToBcp47( LanguageType nLangID, bool bResolveSystem = true ); + static OUString convertToBcp47( LanguageType nLangID ); /** Convert Locale to BCP 47 string. @@ -448,12 +446,10 @@ public: conversion so does not save anything compared to LanguageTag(rBcp47).getLanguageType(bResolveSystem). - @param bResolveSystem - If TRUE, resolve an empty language tag denoting the system - locale to the real locale used. - If FALSE, return LANGUAGE_SYSTEM for such a tag. + Resolve an empty language tag denoting the system + locale to the real locale used. */ - static LanguageType convertToLanguageType( const OUString& rBcp47, bool bResolveSystem = true ); + static LanguageType convertToLanguageType( const OUString& rBcp47 ); /** Convert BCP 47 string to MS-LangID with fallback, convenience method. |