summaryrefslogtreecommitdiff
path: root/vcl/qa
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-03-06 10:42:13 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-03-07 07:08:34 +0100
commitb3ee860e523dce3df16350a4053a67f39c2f92f8 (patch)
tree357c48461b3f62cc2773c959a5a11daf3c60c636 /vcl/qa
parent2407c183092d6559771738891d57d6375c4212ab (diff)
use more Color in vcl
Change-Id: Ia92c52d26b90898c1f7860128b478d1fada9d406 Reviewed-on: https://gerrit.libreoffice.org/50795 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/qa')
-rw-r--r--vcl/qa/cppunit/BitmapProcessorTest.cxx2
-rw-r--r--vcl/qa/cppunit/BitmapTest.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/vcl/qa/cppunit/BitmapProcessorTest.cxx b/vcl/qa/cppunit/BitmapProcessorTest.cxx
index 558401f84771..300302d41d60 100644
--- a/vcl/qa/cppunit/BitmapProcessorTest.cxx
+++ b/vcl/qa/cppunit/BitmapProcessorTest.cxx
@@ -50,7 +50,7 @@ void BitmapProcessorTest::testDisabledImage()
{
Bitmap::ScopedReadAccess pReadAccess(aDisabledBitmap);
Color aColor(pReadAccess->GetPixel(0, 0).GetColor());
- CPPUNIT_ASSERT_EQUAL(sal_uInt32(0x001E1E1E), sal_uInt32(aColor));
+ CPPUNIT_ASSERT_EQUAL(Color(0x001E1E1E), aColor);
}
}
diff --git a/vcl/qa/cppunit/BitmapTest.cxx b/vcl/qa/cppunit/BitmapTest.cxx
index 5af967052326..3f112fa6f86b 100644
--- a/vcl/qa/cppunit/BitmapTest.cxx
+++ b/vcl/qa/cppunit/BitmapTest.cxx
@@ -484,7 +484,7 @@ void BitmapTest::testCRC()
#endif
// a 1x1 black & white checkerboard
- aVDev->DrawCheckered(Point(), aVDev->GetOutputSizePixel(), 1, 1);
+ aVDev->DrawCheckered(Point(), aVDev->GetOutputSizePixel(), 1, Color(0, 0, 1));
Bitmap aChecker = getAsBitmap(aVDev);
checkAndInsert(aCRCs, aChecker, "checkerboard");
aChecker.Invert();