summaryrefslogtreecommitdiff
path: root/include/i18nlangtag/languagetag.hxx
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2013-09-20 23:56:06 +0200
committerEike Rathke <erack@redhat.com>2013-09-21 15:24:42 +0200
commitd1b8398c2f68f50550824cbb47fb188a3a818e62 (patch)
treecda57b2b1b82f9586d1ab22c9057846299cd48e1 /include/i18nlangtag/languagetag.hxx
parent42dc3847ed7c3c3bcf43ffdb14eafeae17f79b7a (diff)
added operator<() for sorted containers
Change-Id: Iffc3a41df21f2b95054f6f895c9848714ace1de0
Diffstat (limited to 'include/i18nlangtag/languagetag.hxx')
-rw-r--r--include/i18nlangtag/languagetag.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/i18nlangtag/languagetag.hxx b/include/i18nlangtag/languagetag.hxx
index b8a63479951f..7f06f922b3cd 100644
--- a/include/i18nlangtag/languagetag.hxx
+++ b/include/i18nlangtag/languagetag.hxx
@@ -399,6 +399,11 @@ public:
*/
bool operator!=( const LanguageTag & rLanguageTag ) const;
+ /** Test this less than that.
+
+ For sorted containers. Internally uses the LanguageType for comparison.
+ */
+ bool operator<( const LanguageTag & rLanguageTag ) const;
/** Convert MS-LangID to Locale.