summaryrefslogtreecommitdiff
path: root/include/linguistic
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2013-09-12 19:31:04 +0200
committerEike Rathke <erack@redhat.com>2013-09-12 19:31:45 +0200
commitb291852c2f907e5d181b1de43af216f7d03db96a (patch)
tree014dfe4334ecd0edc46f6570cceae1c9cf1e3166 /include/linguistic
parent2f6551b0167c2651f900b9c727bd74240b493754 (diff)
get rid of unnecessary conversion, use LinguIsUnspecified(OUString)
Change-Id: Ib1074e3025680306c0a8bf7dcff651cefdcb90ba
Diffstat (limited to 'include/linguistic')
-rw-r--r--include/linguistic/misc.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linguistic/misc.hxx b/include/linguistic/misc.hxx
index 3d6321ef1e74..da5c4dccec2e 100644
--- a/include/linguistic/misc.hxx
+++ b/include/linguistic/misc.hxx
@@ -111,6 +111,10 @@ LNG_DLLPUBLIC ::com::sun::star::lang::Locale LinguLanguageToLocale( LanguageType
*/
LNG_DLLPUBLIC bool LinguIsUnspecified( LanguageType nLanguage );
+/** The same as LinguIsUnspecified(LanguageType) but taking a BCP 47 language
+ tag string instead. */
+LNG_DLLPUBLIC bool LinguIsUnspecified( const OUString & rBcp47 );
+
::com::sun::star::uno::Sequence< sal_Int16 >
LocaleSeqToLangSeq( ::com::sun::star::uno::Sequence<
::com::sun::star::lang::Locale > &rLocaleSeq );