summaryrefslogtreecommitdiffstats
path: root/include
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
parenta set of LanguageType fallback converted to is utter nonsense here (diff)
downloadcore-b291852c2f907e5d181b1de43af216f7d03db96a.tar.gz
core-b291852c2f907e5d181b1de43af216f7d03db96a.zip
get rid of unnecessary conversion, use LinguIsUnspecified(OUString)
Change-Id: Ib1074e3025680306c0a8bf7dcff651cefdcb90ba
Diffstat (limited to 'include')
-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 );