summaryrefslogtreecommitdiff
path: root/lingucomponent/source/thesaurus
diff options
context:
space:
mode:
Diffstat (limited to 'lingucomponent/source/thesaurus')
-rw-r--r--lingucomponent/source/thesaurus/libnth/nthesimp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/lingucomponent/source/thesaurus/libnth/nthesimp.cxx b/lingucomponent/source/thesaurus/libnth/nthesimp.cxx
index 5adc00702cf8..7f17e22255a1 100644
--- a/lingucomponent/source/thesaurus/libnth/nthesimp.cxx
+++ b/lingucomponent/source/thesaurus/libnth/nthesimp.cxx
@@ -308,7 +308,7 @@ Sequence < Reference < ::com::sun::star::linguistic2::XMeaning > > SAL_CALL Thes
sal_Int32 stem = 0;
sal_Int32 stem2 = 0;
- sal_Int16 nLanguage = LocaleToLanguage( rLocale );
+ sal_Int16 nLanguage = LanguageTag( rLocale ).getLanguageType();
if (nLanguage == LANGUAGE_NONE || rTerm.isEmpty())
return noMeanings;