diff options
author | Eike Rathke <erack@redhat.com> | 2013-09-03 18:56:42 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2013-09-03 20:35:40 +0200 |
commit | 959181323f539c0cc685013bb4d50ed5360614a6 (patch) | |
tree | af31c215b243febe0574067a742fd6f5fdaccd8c /linguistic | |
parent | 59124d7e4facd57f9cbaba9f9fb86f199ab32302 (diff) |
was convertIsoStringToLanguage(), use convertToLanguageTypeWithFallback()
Change-Id: I1795da53192e0c679a248ebd878a96e11ebbee80
Diffstat (limited to 'linguistic')
-rw-r--r-- | linguistic/source/dicimp.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linguistic/source/dicimp.cxx b/linguistic/source/dicimp.cxx index ca490f469070..f14792c805bb 100644 --- a/linguistic/source/dicimp.cxx +++ b/linguistic/source/dicimp.cxx @@ -121,8 +121,8 @@ sal_Int16 ReadDicVersion( SvStreamPtr &rpStream, sal_uInt16 &nLng, sal_Bool &bNe if (aTagValue.equalsL(RTL_CONSTASCII_STRINGPARAM("<none>"))) nLng = LANGUAGE_NONE; else - nLng = LanguageTag(OStringToOUString( - aTagValue, RTL_TEXTENCODING_ASCII_US)).getLanguageType(); + nLng = LanguageTag::convertToLanguageTypeWithFallback( + OStringToOUString( aTagValue, RTL_TEXTENCODING_ASCII_US)); } // type: negative / positive |