From 8cac4fec445e4e7d0c053a4c364eee0c55c69fdb Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 12 Oct 2015 11:49:16 +0200 Subject: loplugin:loopvartoosmall Change-Id: Ic3667c0daeeeb5b09eeaae66899affda65e2e9a5 --- vcl/source/bitmap/BitmapProcessor.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vcl/source/bitmap/BitmapProcessor.cxx') diff --git a/vcl/source/bitmap/BitmapProcessor.cxx b/vcl/source/bitmap/BitmapProcessor.cxx index e9d36ed53539..a82e35060ff7 100644 --- a/vcl/source/bitmap/BitmapProcessor.cxx +++ b/vcl/source/bitmap/BitmapProcessor.cxx @@ -24,9 +24,9 @@ BitmapEx BitmapProcessor::createLightImage(const BitmapEx& rBitmapEx) if (pRead && pWrite) { - for (int nY = 0; nY < aSize.Height(); ++nY) + for (long nY = 0; nY < aSize.Height(); ++nY) { - for (int nX = 0; nX < aSize.Width(); ++nX) + for (long nX = 0; nX < aSize.Width(); ++nX) { BitmapColor aColor = pRead->HasPalette() ? pRead->GetPaletteColor(pRead->GetPixelIndex(nY, nX)) : -- cgit v1.2.3