summaryrefslogtreecommitdiff
path: root/vcl/source/gdi/bitmapex.cxx
diff options
context:
space:
mode:
authore12346 <e12346@ce.pdn.ac.lk>2016-08-01 23:08:30 +0530
committerMichael Stahl <mstahl@redhat.com>2016-09-16 08:58:50 +0000
commit171201c574b325653794bcd851d0aa7a80dc3249 (patch)
tree4df35dea1637fcc5acd9c3412218d9a61a0541bf /vcl/source/gdi/bitmapex.cxx
parent81ce0f37728295660a3b6a7a09920f16f3fc7663 (diff)
tdf#96505 - Remove "long" integer literals in vcl/source/gdi/
Removed the "long" integer literals in "vcl/source/gdi/". Some literals are left to match external methods Change-Id: I55aa9bd2935bfd82c9c1cc5cd1efcc4b7c3d9346 Reviewed-on: https://gerrit.libreoffice.org/27784 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'vcl/source/gdi/bitmapex.cxx')
-rw-r--r--vcl/source/gdi/bitmapex.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/vcl/source/gdi/bitmapex.cxx b/vcl/source/gdi/bitmapex.cxx
index 4547cd377dab..7bde2ffc5f84 100644
--- a/vcl/source/gdi/bitmapex.cxx
+++ b/vcl/source/gdi/bitmapex.cxx
@@ -843,9 +843,9 @@ namespace
const Size aDestinationSizePixel(aDestination.GetSizePixel());
const BitmapColor aOutside(BitmapColor(0xff, 0xff, 0xff));
- for(long y(0L); y < aDestinationSizePixel.getHeight(); y++)
+ for(long y(0); y < aDestinationSizePixel.getHeight(); y++)
{
- for(long x(0L); x < aDestinationSizePixel.getWidth(); x++)
+ for(long x(0); x < aDestinationSizePixel.getWidth(); x++)
{
const basegfx::B2DPoint aSourceCoor(rTransform * basegfx::B2DPoint(x, y));
@@ -1067,11 +1067,11 @@ BitmapEx BitmapEx::ModifyBitmapEx(const basegfx::BColorModifierStack& rBColorMod
}
else if(ScanlineFormat::N24BitTcBgr == xContent->GetScanlineFormat())
{
- for(sal_uInt32 y(0L); y < (sal_uInt32)xContent->Height(); y++)
+ for(sal_uInt32 y(0); y < (sal_uInt32)xContent->Height(); y++)
{
Scanline pScan = xContent->GetScanline(y);
- for(sal_uInt32 x(0L); x < (sal_uInt32)xContent->Width(); x++)
+ for(sal_uInt32 x(0); x < (sal_uInt32)xContent->Width(); x++)
{
const basegfx::BColor aBSource(
*(pScan + 2)* fConvertColor,
@@ -1086,11 +1086,11 @@ BitmapEx BitmapEx::ModifyBitmapEx(const basegfx::BColorModifierStack& rBColorMod
}
else if(ScanlineFormat::N24BitTcRgb == xContent->GetScanlineFormat())
{
- for(sal_uInt32 y(0L); y < (sal_uInt32)xContent->Height(); y++)
+ for(sal_uInt32 y(0); y < (sal_uInt32)xContent->Height(); y++)
{
Scanline pScan = xContent->GetScanline(y);
- for(sal_uInt32 x(0L); x < (sal_uInt32)xContent->Width(); x++)
+ for(sal_uInt32 x(0); x < (sal_uInt32)xContent->Width(); x++)
{
const basegfx::BColor aBSource(
*pScan * fConvertColor,
@@ -1105,9 +1105,9 @@ BitmapEx BitmapEx::ModifyBitmapEx(const basegfx::BColorModifierStack& rBColorMod
}
else
{
- for(sal_uInt32 y(0L); y < (sal_uInt32)xContent->Height(); y++)
+ for(sal_uInt32 y(0); y < (sal_uInt32)xContent->Height(); y++)
{
- for(sal_uInt32 x(0L); x < (sal_uInt32)xContent->Width(); x++)
+ for(sal_uInt32 x(0); x < (sal_uInt32)xContent->Width(); x++)
{
const BitmapColor aBMCol(xContent->GetColor(y, x));
const basegfx::BColor aBSource(