incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pavelja...@apache.org
Subject svn commit: r1373787 - /incubator/ooo/trunk/main/svtools/source/filter/wmf/enhwmf.cxx
Date Thu, 16 Aug 2012 11:05:11 GMT
Author: paveljanik
Date: Thu Aug 16 11:05:11 2012
New Revision: 1373787

URL: http://svn.apache.org/viewvc?rev=1373787&view=rev
Log:
Use proper type to prevent WaE issues.

Modified:
    incubator/ooo/trunk/main/svtools/source/filter/wmf/enhwmf.cxx

Modified: incubator/ooo/trunk/main/svtools/source/filter/wmf/enhwmf.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/svtools/source/filter/wmf/enhwmf.cxx?rev=1373787&r1=1373786&r2=1373787&view=diff
==============================================================================
--- incubator/ooo/trunk/main/svtools/source/filter/wmf/enhwmf.cxx (original)
+++ incubator/ooo/trunk/main/svtools/source/filter/wmf/enhwmf.cxx Thu Aug 16 11:05:11 2012
@@ -1290,7 +1290,7 @@ sal_Bool EnhWMFReader::ReadEnhWMF()
 
 				*pWMF >> nTmp32;
 				*pWMF >> nOffset;
-				for ( sal_Int32 i = 0; i < (nOffset - 20)/4; i ++ )
+				for ( sal_uInt32 i = 0; i < (nOffset - 20)/4; i ++ )
 				{
 					*pWMF >> nTmp32;
 				}



Mime
View raw message