diff options
author | Eike Rathke <erack@redhat.com> | 2012-11-24 19:03:56 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2012-11-24 19:04:40 +0100 |
commit | 117184c3e14bb01cc4482bb2a47569008358e6fc (patch) | |
tree | ff86a3fdd789550550dd2c856d50a89bc4899325 /editeng/source/misc | |
parent | d15436e5a98e45f0e8d54bcaabae9ca0875a4e92 (diff) |
kill a few more SvxCreateLocale() & Co remainders
Change-Id: I2b70bf76a495b9edb79b5b3c4ae1b06abed30f54
Diffstat (limited to 'editeng/source/misc')
-rw-r--r-- | editeng/source/misc/unolingu.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/source/misc/unolingu.cxx b/editeng/source/misc/unolingu.cxx index 5c78f076e036..7fa98c15481c 100644 --- a/editeng/source/misc/unolingu.cxx +++ b/editeng/source/misc/unolingu.cxx @@ -741,7 +741,7 @@ uno::Reference< XDictionary > LinguMgr::GetStandard() uno::Reference< XStorable > xStor( xDic, UNO_QUERY ); OSL_ENSURE( xDic.is() && xDic->getDictionaryType() == DictionaryType_POSITIVE, "wrong dictionary type"); - OSL_ENSURE( xDic.is() && SvxLocaleToLanguage( xDic->getLocale() ) == LANGUAGE_NONE, + OSL_ENSURE( xDic.is() && LanguageTag( xDic->getLocale() ).getLanguageType() == LANGUAGE_NONE, "wrong dictionary language"); OSL_ENSURE( !xStor.is() || (xStor->hasLocation() && !xStor->isReadonly()), "dictionary not editable" ); |