vcl/source/bitmap/BitmapProcessor.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 8cac4fec445e4e7d0c053a4c364eee0c55c69fdb Author: Stephan Bergmann <sberg...@redhat.com> Date: Mon Oct 12 11:49:16 2015 +0200 loplugin:loopvartoosmall Change-Id: Ic3667c0daeeeb5b09eeaae66899affda65e2e9a5 diff --git a/vcl/source/bitmap/BitmapProcessor.cxx b/vcl/source/bitmap/BitmapProcessor.cxx index e9d36ed..a82e350 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)) : _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits