Kaydet (Commit) 8cac4fec authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:loopvartoosmall

Change-Id: Ic3667c0daeeeb5b09eeaae66899affda65e2e9a5
üst 738f143f
...@@ -24,9 +24,9 @@ BitmapEx BitmapProcessor::createLightImage(const BitmapEx& rBitmapEx) ...@@ -24,9 +24,9 @@ BitmapEx BitmapProcessor::createLightImage(const BitmapEx& rBitmapEx)
if (pRead && pWrite) 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() ? BitmapColor aColor = pRead->HasPalette() ?
pRead->GetPaletteColor(pRead->GetPixelIndex(nY, nX)) : pRead->GetPaletteColor(pRead->GetPixelIndex(nY, nX)) :
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment