summaryrefslogtreecommitdiff
path: root/lingucomponent/source/thesaurus
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2012-11-24 19:51:53 +0100
committerEike Rathke <erack@redhat.com>2012-11-24 19:53:03 +0100
commitd7a5ec62e91ce3dc5b784815254218f16181f676 (patch)
tree67994cf02b7089e6533f1c66d26c73850b4ac477 /lingucomponent/source/thesaurus
parent3bd0013044e41e63cdf790b67af1f0a202dcba87 (diff)
get rid of CreateLocale() and related
Change-Id: Iba035ff20b149b3d85a8c0ea25430892c3e40e3f
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;