summaryrefslogtreecommitdiff
path: root/include/i18nlangtag
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-04 11:11:21 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-04-04 13:41:00 +0000
commit8372d8532ba3aa3d1ec346a73d8fe9f406001f79 (patch)
tree17e7ac50008081f557bae97eea4e2beaf9be4bc9 /include/i18nlangtag
parente0f9bb795251d950b5dd960fcd030170c8eb67aa (diff)
loplugin:constantparam in i18nlangtag
Change-Id: I3d7cbac7ca58f3de9771a1221196f851255f3fb9 Reviewed-on: https://gerrit.libreoffice.org/23802 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/i18nlangtag')
-rw-r--r--include/i18nlangtag/languagetag.hxx13
1 files changed, 5 insertions, 8 deletions
diff --git a/include/i18nlangtag/languagetag.hxx b/include/i18nlangtag/languagetag.hxx
index 2bbf0331d86f..f494d78bfb25 100644
--- a/include/i18nlangtag/languagetag.hxx
+++ b/include/i18nlangtag/languagetag.hxx
@@ -361,19 +361,16 @@ public:
/** Test equality of two LanguageTag, possibly resolving system locale.
- @param bResolveSystem
- If TRUE, resolve empty language tags denoting the system
- locale to the real locale used before comparing.
- If FALSE, the behavior is identical to operator==(), system
- locales are not resolved first.
+ Resolve empty language tags denoting the system
+ locale to the real locale used before comparing.
*/
- bool equals( const LanguageTag & rLanguageTag, bool bResolveSystem = false ) const;
+ bool equals( const LanguageTag & rLanguageTag ) const;
/** Test equality of two LanguageTag.
Does NOT resolve system, i.e. if the system locale is en-US
LanguageTag("")==LanguageTag("en-US") returns false! Use
- equals(...,true) instead if system locales shall be resolved.
+ equals(...) instead if system locales shall be resolved.
*/
bool operator==( const LanguageTag & rLanguageTag ) const;
@@ -381,7 +378,7 @@ public:
Does NOT resolve system, i.e. if the system locale is en-US
LanguageTag("")!=LanguageTag("en-US") returns true! Use
- !equals(,...true) instead if system locales shall be resolved.
+ !equals(,..) instead if system locales shall be resolved.
*/
bool operator!=( const LanguageTag & rLanguageTag ) const;