Kaydet (Commit) 95918132 authored tarafından Eike Rathke's avatar Eike Rathke

was convertIsoStringToLanguage(), use convertToLanguageTypeWithFallback()

Change-Id: I1795da53192e0c679a248ebd878a96e11ebbee80
üst 59124d7e
...@@ -121,8 +121,8 @@ sal_Int16 ReadDicVersion( SvStreamPtr &rpStream, sal_uInt16 &nLng, sal_Bool &bNe ...@@ -121,8 +121,8 @@ sal_Int16 ReadDicVersion( SvStreamPtr &rpStream, sal_uInt16 &nLng, sal_Bool &bNe
if (aTagValue.equalsL(RTL_CONSTASCII_STRINGPARAM("<none>"))) if (aTagValue.equalsL(RTL_CONSTASCII_STRINGPARAM("<none>")))
nLng = LANGUAGE_NONE; nLng = LANGUAGE_NONE;
else else
nLng = LanguageTag(OStringToOUString( nLng = LanguageTag::convertToLanguageTypeWithFallback(
aTagValue, RTL_TEXTENCODING_ASCII_US)).getLanguageType(); OStringToOUString( aTagValue, RTL_TEXTENCODING_ASCII_US));
} }
// type: negative / positive // type: negative / positive
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment