summaryrefslogtreecommitdiff
path: root/canvas
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-05-28 16:18:34 +0200
committerNoel Grandin <noel@peralex.com>2015-05-29 08:48:41 +0200
commite0b2e6e3f767240016133dd2d55e0bfb9192ca39 (patch)
tree16373b19bd514dfad5fa4f3eea128ed801e5b726 /canvas
parent6140ca9f1d728475e332f9fa96ee62dda58687ea (diff)
loplugin:loopvartoosmall
Change-Id: Icbe68b31d4ab04ca3cd9f572e3598413946a75c7
Diffstat (limited to 'canvas')
-rw-r--r--canvas/source/vcl/impltools.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/canvas/source/vcl/impltools.cxx b/canvas/source/vcl/impltools.cxx
index cc25ea084bc9..26a26cf08a5d 100644
--- a/canvas/source/vcl/impltools.cxx
+++ b/canvas/source/vcl/impltools.cxx
@@ -330,7 +330,7 @@ namespace vclcanvas
aTransform.invert();
// for the time being, always read as ARGB
- for( int y=0; y<aDestBmpSize.Height(); ++y )
+ for( long y=0; y<aDestBmpSize.Height(); ++y )
{
if( bModulateColors )
{
@@ -346,7 +346,7 @@ namespace vclcanvas
if( rBitmap.IsTransparent() )
{
// Handling alpha and mask just the same...
- for( int x=0; x<aDestBmpSize.Width(); ++x )
+ for( long x=0; x<aDestBmpSize.Width(); ++x )
{
::basegfx::B2DPoint aPoint(x,y);
aPoint *= aTransform;
@@ -392,7 +392,7 @@ namespace vclcanvas
}
else
{
- for( int x=0; x<aDestBmpSize.Width(); ++x )
+ for( long x=0; x<aDestBmpSize.Width(); ++x )
{
::basegfx::B2DPoint aPoint(x,y);
aPoint *= aTransform;
@@ -449,7 +449,7 @@ namespace vclcanvas
if( rBitmap.IsTransparent() )
{
// Handling alpha and mask just the same...
- for( int x=0; x<aDestBmpSize.Width(); ++x )
+ for( long x=0; x<aDestBmpSize.Width(); ++x )
{
::basegfx::B2DPoint aPoint(x,y);
aPoint *= aTransform;
@@ -471,7 +471,7 @@ namespace vclcanvas
}
else
{
- for( int x=0; x<aDestBmpSize.Width(); ++x )
+ for( long x=0; x<aDestBmpSize.Width(); ++x )
{
::basegfx::B2DPoint aPoint(x,y);
aPoint *= aTransform;