Kaydet (Commit) 2a3c87a5 authored tarafından Zhe Wang's avatar Zhe Wang

for #119985#

üst 9b4e6064
...@@ -5023,13 +5023,11 @@ sal_Bool PPTTextSpecInfoAtomInterpreter::Read( SvStream& rIn, const DffRecordHea ...@@ -5023,13 +5023,11 @@ sal_Bool PPTTextSpecInfoAtomInterpreter::Read( SvStream& rIn, const DffRecordHea
} }
if ( nLang ) if ( nLang )
{ {
sal_uInt16 nScriptType = GetI18NScriptTypeOfLanguage( nLang ); // bug119985 2012.06.14
if ( nScriptType & SCRIPTTYPE_LATIN ) if (i == 2)
pEntry->nLanguage[ 0 ] = nLang; {
if ( nScriptType & SCRIPTTYPE_ASIAN ) pEntry->nLanguage[ 0 ] = pEntry->nLanguage[ 1 ] = pEntry->nLanguage[ 2 ] = nLang;
pEntry->nLanguage[ 1 ] = nLang; }
if ( nScriptType & SCRIPTTYPE_COMPLEX )
pEntry->nLanguage[ 2 ] = nLang;
} }
nFlags &= ~i; nFlags &= ~i;
} }
......
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