diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-08-16 16:27:55 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-08-17 11:25:21 +0200 |
commit | 2e8acde112e1c6754df26902e79a78346ba45a2d (patch) | |
tree | 2d836747a7aafdd0b64ab9aabf01be59e94745d4 /vcl/source/outdev/transparent.cxx | |
parent | 006a7b50546c57e260245d4630de565705f2fc38 (diff) |
remove UL/L suffixes from integer constants on the RHS of expressions
Change-Id: I899a8126c9d971601fea6c77eca165718aea0ac5
Reviewed-on: https://gerrit.libreoffice.org/41237
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source/outdev/transparent.cxx')
-rw-r--r-- | vcl/source/outdev/transparent.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/vcl/source/outdev/transparent.cxx b/vcl/source/outdev/transparent.cxx index e4e21d49b0a1..8d79075e0dca 100644 --- a/vcl/source/outdev/transparent.cxx +++ b/vcl/source/outdev/transparent.cxx @@ -132,18 +132,18 @@ void OutputDevice::ImplPrintTransparent( const Bitmap& rBmp, const Bitmap& rMask aMask.Convert( BmpConversion::N1BitThreshold ); // mirrored horizontically - if( aDestSz.Width() < 0L ) + if( aDestSz.Width() < 0 ) { aDestSz.Width() = -aDestSz.Width(); - aDestPt.X() -= ( aDestSz.Width() - 1L ); + aDestPt.X() -= ( aDestSz.Width() - 1 ); nMirrFlags |= BmpMirrorFlags::Horizontal; } // mirrored vertically - if( aDestSz.Height() < 0L ) + if( aDestSz.Height() < 0 ) { aDestSz.Height() = -aDestSz.Height(); - aDestPt.Y() -= ( aDestSz.Height() - 1L ); + aDestPt.Y() -= ( aDestSz.Height() - 1 ); nMirrFlags |= BmpMirrorFlags::Vertical; } @@ -178,10 +178,10 @@ void OutputDevice::ImplPrintTransparent( const Bitmap& rBmp, const Bitmap& rMask mbMap = false; // create forward mapping tables - for( nX = 0L; nX <= nSrcWidth; nX++ ) + for( nX = 0; nX <= nSrcWidth; nX++ ) pMapX[ nX ] = aDestPt.X() + FRound( (double) aDestSz.Width() * nX / nSrcWidth ); - for( nY = 0L; nY <= nSrcHeight; nY++ ) + for( nY = 0; nY <= nSrcHeight; nY++ ) pMapY[ nY ] = aDestPt.Y() + FRound( (double) aDestSz.Height() * nY / nSrcHeight ); // walk through all rectangles of mask |