diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-10-12 11:49:16 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-10-12 11:49:16 +0200 |
commit | 8cac4fec445e4e7d0c053a4c364eee0c55c69fdb (patch) | |
tree | 5d09161e32b11860f0cc3da33bb994a7027a0de1 /vcl | |
parent | 738f143f870b632fd1061123c53a607041c5892e (diff) |
loplugin:loopvartoosmall
Change-Id: Ic3667c0daeeeb5b09eeaae66899affda65e2e9a5
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/bitmap/BitmapProcessor.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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)) : |