summaryrefslogtreecommitdiffstats
path: root/i18npool/inc
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2012-11-21 19:11:56 +0100
committerEike Rathke <erack@redhat.com>2012-11-21 19:12:09 +0100
commit6a05d3f816df5cbcaa88bed5bce445c6a78f9ca6 (patch)
tree336b40ea5281c64f7cc43362b73c22235f218d7c /i18npool/inc
parentSave more space: compress the .rdb files in the .apk (diff)
downloadcore-6a05d3f816df5cbcaa88bed5bce445c6a78f9ca6.tar.gz
core-6a05d3f816df5cbcaa88bed5bce445c6a78f9ca6.zip
added operator==() and operator!=() to LanguageTag
Change-Id: I4f339ecaeb147a05f8882065e859902f8c14ac47
Diffstat (limited to 'i18npool/inc')
-rw-r--r--i18npool/inc/i18npool/languagetag.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/i18npool/inc/i18npool/languagetag.hxx b/i18npool/inc/i18npool/languagetag.hxx
index c5ce23254bea..cefb0de81c9a 100644
--- a/i18npool/inc/i18npool/languagetag.hxx
+++ b/i18npool/inc/i18npool/languagetag.hxx
@@ -196,6 +196,12 @@ public:
*/
LanguageTag & makeFallback();
+ /* Test equality of two LangageTag. */
+ bool operator==( const LanguageTag & rLanguageTag ) const;
+
+ /* Test inequality of two LangageTag. */
+ bool operator!=( const LanguageTag & rLanguageTag ) const;
+
private:
enum Decision