Author: paveljanik
Date: Wed Apr 10 19:28:45 2013
New Revision: 1466636
URL: http://svn.apache.org/r1466636
Log:
Use proper variable types to prevent comparing signed and unsigned variables
(WaE).
Modified:
openoffice/trunk/main/svx/source/dialog/dlgctrl.cxx
Modified: openoffice/trunk/main/svx/source/dialog/dlgctrl.cxx
URL:
http://svn.apache.org/viewvc/openoffice/trunk/main/svx/source/dialog/dlgctrl.cxx?rev=1466636&r1=1466635&r2=1466636&view=diff
==============================================================================
--- openoffice/trunk/main/svx/source/dialog/dlgctrl.cxx (original)
+++ openoffice/trunk/main/svx/source/dialog/dlgctrl.cxx Wed Apr 10 19:28:45 2013
@@ -1504,9 +1504,9 @@ void BitmapLB::SetVirtualDevice(const Si
{
const Size aBitmapSize(maBitmapEx.GetSizePixel());
- for(sal_uInt32 y(0); y < rSize.Height(); y += aBitmapSize.Height())
+ for(sal_Int32 y(0); y < rSize.Height(); y += aBitmapSize.Height())
{
- for(sal_uInt32 x(0); x < rSize.Width(); x += aBitmapSize.Width())
+ for(sal_Int32 x(0); x < rSize.Width(); x += aBitmapSize.Width())
{
maVD.DrawBitmapEx(
Point(x, y),
@@ -1694,9 +1694,9 @@ void FillAttrLB::SetVirtualDevice(const
{
const Size aBitmapSize(maBitmapEx.GetSizePixel());
- for(sal_uInt32 y(0); y < rSize.Height(); y += aBitmapSize.Height())
+ for(sal_Int32 y(0); y < rSize.Height(); y += aBitmapSize.Height())
{
- for(sal_uInt32 x(0); x < rSize.Width(); x += aBitmapSize.Width())
+ for(sal_Int32 x(0); x < rSize.Width(); x += aBitmapSize.Width())
{
maVD.DrawBitmapEx(
Point(x, y),