summaryrefslogtreecommitdiff
path: root/vcl/qa/cppunit/bitmaprender
diff options
context:
space:
mode:
authorNoel <noelgrandin@gmail.com>2020-10-19 15:12:38 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-10-19 21:34:46 +0200
commit3aef606f2758172a27718a06fea0ff9080e4d80f (patch)
treead323c90301d80bbb3b68163d8b87e5402b687ed /vcl/qa/cppunit/bitmaprender
parent5afba3e12c8d4eb1ebb8e087134eb87593bb017a (diff)
use tools::Long in vcl
Change-Id: Ice1055021e8568634e9a66ba89d3bb4ef4e731df Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104522 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/qa/cppunit/bitmaprender')
-rw-r--r--vcl/qa/cppunit/bitmaprender/BitmapRenderTest.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/vcl/qa/cppunit/bitmaprender/BitmapRenderTest.cxx b/vcl/qa/cppunit/bitmaprender/BitmapRenderTest.cxx
index b6bd724910b8..dd10d508e243 100644
--- a/vcl/qa/cppunit/bitmaprender/BitmapRenderTest.cxx
+++ b/vcl/qa/cppunit/bitmaprender/BitmapRenderTest.cxx
@@ -178,8 +178,8 @@ void BitmapRenderTest::testAlphaVirtualDevice()
// Get a BitmapEx from the VirDev -> Colors should have alpha
BitmapEx aBitmap = pAlphaVirtualDevice->GetBitmapEx(Point(), Size(4, 4));
- CPPUNIT_ASSERT_EQUAL(long(4), aBitmap.GetSizePixel().Width());
- CPPUNIT_ASSERT_EQUAL(long(4), aBitmap.GetSizePixel().Height());
+ CPPUNIT_ASSERT_EQUAL(tools::Long(4), aBitmap.GetSizePixel().Width());
+ CPPUNIT_ASSERT_EQUAL(tools::Long(4), aBitmap.GetSizePixel().Height());
Color aColor = aBitmap.GetPixelColor(1, 1);
CPPUNIT_ASSERT_EQUAL(Color(0xffffffff), aColor);
@@ -196,8 +196,8 @@ void BitmapRenderTest::testAlphaVirtualDevice()
// Read back the BitmapEx and check the opaque pixel
aBitmap = pAlphaVirtualDevice->GetBitmapEx(Point(), Size(4, 4));
- CPPUNIT_ASSERT_EQUAL(long(4), aBitmap.GetSizePixel().Width());
- CPPUNIT_ASSERT_EQUAL(long(4), aBitmap.GetSizePixel().Height());
+ CPPUNIT_ASSERT_EQUAL(tools::Long(4), aBitmap.GetSizePixel().Width());
+ CPPUNIT_ASSERT_EQUAL(tools::Long(4), aBitmap.GetSizePixel().Height());
aColor = aBitmap.GetPixelColor(1, 1);
#if defined _WIN32
@@ -219,8 +219,8 @@ void BitmapRenderTest::testAlphaVirtualDevice()
// Read back the BitmapEx and check the semi-transparent pixel
aBitmap = pAlphaVirtualDevice->GetBitmapEx(Point(), Size(4, 4));
- CPPUNIT_ASSERT_EQUAL(long(4), aBitmap.GetSizePixel().Width());
- CPPUNIT_ASSERT_EQUAL(long(4), aBitmap.GetSizePixel().Height());
+ CPPUNIT_ASSERT_EQUAL(tools::Long(4), aBitmap.GetSizePixel().Width());
+ CPPUNIT_ASSERT_EQUAL(tools::Long(4), aBitmap.GetSizePixel().Height());
aColor = aBitmap.GetPixelColor(0, 0);
#if defined _WIN32