vcl/qa/cppunit/outdev.cxx |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 74659d0174a516d4ed5095e386f925de51121e76
Author: Stephan Bergmann <sberg...@redhat.com>
Date:   Tue Dec 2 13:47:19 2014 +0100

    CPPUNIT_ASSERT_EQUAL
    
    Change-Id: I846ff9cc1bc1e4e449542ebe04a4dc322cee821e

diff --git a/vcl/qa/cppunit/outdev.cxx b/vcl/qa/cppunit/outdev.cxx
index de02ffc..4ae3470 100644
--- a/vcl/qa/cppunit/outdev.cxx
+++ b/vcl/qa/cppunit/outdev.cxx
@@ -56,10 +56,10 @@ void VclOutdevTest::testVirtualDevice()
     }
 #endif
 
-    CPPUNIT_ASSERT(aVDev.GetPixel(Point(0,0)) == COL_WHITE);
-    CPPUNIT_ASSERT(aVDev.GetPixel(Point(1,2)) == COL_GREEN);
-    CPPUNIT_ASSERT(aVDev.GetPixel(Point(31,30)) == COL_RED);
-    CPPUNIT_ASSERT(aVDev.GetPixel(Point(30,31)) == COL_WHITE);
+    CPPUNIT_ASSERT_EQUAL(COL_WHITE, aVDev.GetPixel(Point(0,0)).GetColor());
+    CPPUNIT_ASSERT_EQUAL(COL_GREEN, aVDev.GetPixel(Point(1,2)).GetColor());
+    CPPUNIT_ASSERT_EQUAL(COL_RED, aVDev.GetPixel(Point(31,30)).GetColor());
+    CPPUNIT_ASSERT_EQUAL(COL_WHITE, aVDev.GetPixel(Point(30,31)).GetColor());
 
     // Gotcha: y and x swap for BitmapReadAccess: deep joy.
     Bitmap::ScopedReadAccess pAcc(aBmp);
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to