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

was convertIsoStringToLanguage(), use convertToLanguageTypeWithFallback()

Change-Id: I12cf6ad7ad658646dcee8cb54776e0915f1c8042
üst a5fd27a7
...@@ -1934,7 +1934,7 @@ sal_Bool SwHTMLParser::ParseStyleOptions( const String &rStyle, ...@@ -1934,7 +1934,7 @@ sal_Bool SwHTMLParser::ParseStyleOptions( const String &rStyle,
if( pLang && pLang->Len() ) if( pLang && pLang->Len() )
{ {
LanguageType eLang = LanguageTag::convertToLanguageType( *pLang ); LanguageType eLang = LanguageTag::convertToLanguageTypeWithFallback( *pLang );
if( LANGUAGE_DONTKNOW != eLang ) if( LANGUAGE_DONTKNOW != eLang )
{ {
SvxLanguageItem aLang( eLang, RES_CHRATR_LANGUAGE ); SvxLanguageItem aLang( eLang, RES_CHRATR_LANGUAGE );
......
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