incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pavelja...@apache.org
Subject svn commit: r1391405 - /incubator/ooo/trunk/main/sc/source/filter/excel/excform.cxx
Date Fri, 28 Sep 2012 11:42:04 GMT
Author: paveljanik
Date: Fri Sep 28 11:42:03 2012
New Revision: 1391405

URL: http://svn.apache.org/viewvc?rev=1391405&view=rev
Log:
Fix WaE issue - use different type for index variable, rename index
variable.

Modified:
    incubator/ooo/trunk/main/sc/source/filter/excel/excform.cxx

Modified: incubator/ooo/trunk/main/sc/source/filter/excel/excform.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/sc/source/filter/excel/excform.cxx?rev=1391405&r1=1391404&r2=1391405&view=diff
==============================================================================
--- incubator/ooo/trunk/main/sc/source/filter/excel/excform.cxx (original)
+++ incubator/ooo/trunk/main/sc/source/filter/excel/excform.cxx Fri Sep 28 11:42:03 2012
@@ -1551,8 +1551,8 @@ static DefTokenId missArgForZeroList[] =
 
 sal_Bool lcl_isInMissArgForZeroList(DefTokenId id)
 {
-	for(short index = 0; index < missArgForZeroCount; index++)
-		if(missArgForZeroList[index] == id)
+	for (sal_uInt32 nIndex = 0; nIndex < missArgForZeroCount; nIndex++)
+		if(missArgForZeroList[nIndex] == id)
 			return sal_True;
 	return sal_False;
 



Mime
View raw message