incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wangz...@apache.org
Subject svn commit: r1353398 - /incubator/ooo/trunk/main/filter/source/msfilter/svdfppt.cxx
Date Mon, 25 Jun 2012 06:23:48 GMT
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;
 		}



Mime
View raw message