diff options
author | Eike Rathke <erack@redhat.com> | 2013-09-20 22:16:18 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2013-09-21 15:24:42 +0200 |
commit | 3e70b51d214d69dcd92946ee1bfa6102626ddc51 (patch) | |
tree | 15762ef0fd6a12aa95c528cf4a534234dda92cb0 /include/i18nlangtag/languagetag.hxx | |
parent | 815c6758727abf7adef5d1a962a36fb3d102000c (diff) |
added default ctor for maps etc.
sigh.. I hate to do this..
Change-Id: Icf5940c0e60d39a2a1a33fbf78d2af6deb729524
Diffstat (limited to 'include/i18nlangtag/languagetag.hxx')
-rw-r--r-- | include/i18nlangtag/languagetag.hxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/i18nlangtag/languagetag.hxx b/include/i18nlangtag/languagetag.hxx index c8ee7177603a..f8f9ae87bcbd 100644 --- a/include/i18nlangtag/languagetag.hxx +++ b/include/i18nlangtag/languagetag.hxx @@ -76,6 +76,12 @@ public: /** Init LanguageTag with LanguageType MS-LangID. */ explicit LanguageTag( LanguageType nLanguage ); + /** Default ctor, init LanguageTag with LanguageType LANGUAGE_DONTKNOW. + + To be able to use LanguageTag in maps etc., avoid otherwise. + */ + explicit LanguageTag(); + /** Init LanguageTag with either BCP 47 language tag (precedence if not empty), or a combination of language, script and country. |