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;