diff options
Diffstat (limited to 'vcl/source/bitmap/BitmapSimpleColorQuantizationFilter.cxx')
-rw-r--r-- | vcl/source/bitmap/BitmapSimpleColorQuantizationFilter.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/vcl/source/bitmap/BitmapSimpleColorQuantizationFilter.cxx b/vcl/source/bitmap/BitmapSimpleColorQuantizationFilter.cxx index 1d21ed9e1279..4284db563ac3 100644 --- a/vcl/source/bitmap/BitmapSimpleColorQuantizationFilter.cxx +++ b/vcl/source/bitmap/BitmapSimpleColorQuantizationFilter.cxx @@ -50,16 +50,16 @@ BitmapEx BitmapSimpleColorQuantizationFilter::execute(BitmapEx const& aBitmapEx) if (pWAcc) { - const long nWidth = pRAcc->Width(); - const long nHeight = pRAcc->Height(); + const tools::Long nWidth = pRAcc->Width(); + const tools::Long nHeight = pRAcc->Height(); if (pRAcc->HasPalette()) { - for (long nY = 0; nY < nHeight; nY++) + for (tools::Long nY = 0; nY < nHeight; nY++) { Scanline pScanline = pWAcc->GetScanline(nY); Scanline pScanlineRead = pRAcc->GetScanline(nY); - for (long nX = 0; nX < nWidth; nX++) + for (tools::Long nX = 0; nX < nWidth; nX++) { auto c = pRAcc->GetPaletteColor( pRAcc->GetIndexFromData(pScanlineRead, nX)); @@ -71,11 +71,11 @@ BitmapEx BitmapSimpleColorQuantizationFilter::execute(BitmapEx const& aBitmapEx) } else { - for (long nY = 0; nY < nHeight; nY++) + for (tools::Long nY = 0; nY < nHeight; nY++) { Scanline pScanline = pWAcc->GetScanline(nY); Scanline pScanlineRead = pRAcc->GetScanline(nY); - for (long nX = 0; nX < nWidth; nX++) + for (tools::Long nX = 0; nX < nWidth; nX++) { auto c = pRAcc->GetPixelFromData(pScanlineRead, nX); pWAcc->SetPixelOnData( |