You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by wa...@apache.org on 2012/06/25 08:23:48 UTC

svn commit: r1353398 - /incubator/ooo/trunk/main/filter/source/msfilter/svdfppt.cxx

Author: wangzcdl
Date: Mon Jun 25 06:23:47 2012
New Revision: 1353398

URL: http://svn.apache.org/viewvc?rev=1353398&view=rev
Log:
for #119985#

Modified:
    incubator/ooo/trunk/main/filter/source/msfilter/svdfppt.cxx

Modified: incubator/ooo/trunk/main/filter/source/msfilter/svdfppt.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/filter/source/msfilter/svdfppt.cxx?rev=1353398&r1=1353397&r2=1353398&view=diff
==============================================================================
--- incubator/ooo/trunk/main/filter/source/msfilter/svdfppt.cxx (original)
+++ incubator/ooo/trunk/main/filter/source/msfilter/svdfppt.cxx Mon Jun 25 06:23:47 2012
@@ -5023,13 +5023,11 @@ sal_Bool PPTTextSpecInfoAtomInterpreter:
 			}
 			if ( nLang )
 			{
-				sal_uInt16 nScriptType = GetI18NScriptTypeOfLanguage( nLang );
-				if ( nScriptType & SCRIPTTYPE_LATIN )
-					pEntry->nLanguage[ 0 ] = nLang;
-				if ( nScriptType & SCRIPTTYPE_ASIAN )
-					pEntry->nLanguage[ 1 ] = nLang;
-				if ( nScriptType & SCRIPTTYPE_COMPLEX )
-					pEntry->nLanguage[ 2 ] = nLang;
+// bug119985 2012.06.14
+				if (i == 2)
+				{
+					pEntry->nLanguage[ 0 ] = pEntry->nLanguage[ 1 ] = pEntry->nLanguage[ 2 ] = nLang;
+				}
 			}
 			nFlags &= ~i;
 		}