summaryrefslogtreecommitdiff
path: root/basebmp
diff options
context:
space:
mode:
Diffstat (limited to 'basebmp')
-rw-r--r--basebmp/test/bmpmasktest.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/basebmp/test/bmpmasktest.cxx b/basebmp/test/bmpmasktest.cxx
index 4b643072f7ec..f8b20a5a4bda 100644
--- a/basebmp/test/bmpmasktest.cxx
+++ b/basebmp/test/bmpmasktest.cxx
@@ -206,11 +206,11 @@ public:
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