diff options
author | Eike Rathke <erack@redhat.com> | 2013-07-10 15:57:25 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2013-07-10 15:59:19 +0200 |
commit | 1e744d5d9de568aeef6794365dc6f2bf84537ddb (patch) | |
tree | ebe07251cc7f5f1d9a8dbbef9e24fd23ba7949a2 /include | |
parent | a9e0c222f504104124485ef4684ce6f79d3dee52 (diff) |
changed getIsoLanguageCountry() to getIsoLanguageScriptCountry()
And don't write ODF *:script if *:language is not written either.
Change-Id: If6d49cc6fbb8d566cc59edf35ed7991d57d941c0
Diffstat (limited to 'include')
-rw-r--r-- | include/i18nlangtag/languagetag.hxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/i18nlangtag/languagetag.hxx b/include/i18nlangtag/languagetag.hxx index 8f23098c9ded..d779f9d921bf 100644 --- a/include/i18nlangtag/languagetag.hxx +++ b/include/i18nlangtag/languagetag.hxx @@ -128,20 +128,20 @@ public: */ LanguageType getLanguageType( bool bResolveSystem = true ) const; - /** Obtain ISO strings for language and country. + /** Obtain ISO strings for language, script and country. - This is a convenience method for places that so far use only language and - country to replace the MsLangId::convert...IsoNames...() calls. Avoid - use in new code. + This is a convenience method for ODF export places only. Avoid use in + other code. ATTENTION! May return empty strings if the language tag is not expressable in valid ISO codes! - @see isIsoLocale() + @see isIsoODF() Always resolves an empty tag to the system locale. */ - void getIsoLanguageCountry( OUString& rLanguage, OUString& rCountry ) const; + void getIsoLanguageScriptCountry( OUString& rLanguage, + OUString& rScript, OUString& rCountry ) const; /** Get ISO 639 language code, or BCP 47 language. |