diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-07-04 13:55:07 +0100 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2015-08-06 12:53:06 +0200 |
commit | 4d5f4e201c6614c8a64e5e30b3d9f8a7ccad74df (patch) | |
tree | acc2eb3cdbac579d079209ff602fc77e88550ad0 /basebmp | |
parent | 1c66e33e3b98f53af19234caf6e8de19aa20101f (diff) |
bmpmasktest was little-endian only
Change-Id: Icf362281c54509211b08c8bf5e29a0e31d9eb835
(cherry picked from commit 3cfa4f26616411caf5c9c6c91ccd5ded7e10b035)
Diffstat (limited to 'basebmp')
-rw-r--r-- | basebmp/test/bmpmasktest.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/basebmp/test/bmpmasktest.cxx b/basebmp/test/bmpmasktest.cxx index cbc34c0f2b85..611e18955279 100644 --- a/basebmp/test/bmpmasktest.cxx +++ b/basebmp/test/bmpmasktest.cxx @@ -206,11 +206,11 @@ public: DrawMode::DrawMode_PAINT ); CPPUNIT_ASSERT_MESSAGE( "output not cleared to white", - xOutput->getPixelData( basegfx::B2IPoint( 0, 0 ) ) == 0xffffff ); + xOutput->getPixel( basegfx::B2IPoint( 0, 0 ) ) == Color(0xffffff) ); CPPUNIT_ASSERT_MESSAGE( "bitmap not drawn", - xOutput->getPixelData( basegfx::B2IPoint( 2, 2 ) ) == 0x808080 ); + xOutput->getPixel( basegfx::B2IPoint( 2, 2 ) ) == Color(0x808080) ); CPPUNIT_ASSERT_MESSAGE( "mask not applied", - xOutput->getPixelData( basegfx::B2IPoint( 6, 6 ) ) == 0xffffff ); + xOutput->getPixel( basegfx::B2IPoint( 6, 6 ) ) == Color(0xffffff) ); } // Change the following lines only, if you add, remove or rename |