diff options
author | Eike Rathke <erack@redhat.com> | 2012-11-24 19:51:53 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2012-11-24 19:53:03 +0100 |
commit | d7a5ec62e91ce3dc5b784815254218f16181f676 (patch) | |
tree | 67994cf02b7089e6533f1c66d26c73850b4ac477 /lingucomponent/source/thesaurus | |
parent | 3bd0013044e41e63cdf790b67af1f0a202dcba87 (diff) |
get rid of CreateLocale() and related
Change-Id: Iba035ff20b149b3d85a8c0ea25430892c3e40e3f
Diffstat (limited to 'lingucomponent/source/thesaurus')
-rw-r--r-- | lingucomponent/source/thesaurus/libnth/nthesimp.cxx | 2 |
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; |