Fix emfplus.cxx cppcanvas/qa
/home/julien/lo/libreoffice/cppcanvas/qa/extras/emfplus/emfplus.cxx: In member function ‘void testFdo77229::TestBody()’: /home/julien/lo/libreoffice/cppcanvas/qa/extras/emfplus/emfplus.cxx:79:46: error: ‘class BitmapColor’ has no member named ‘GetColor’; did you mean ‘getBColor’? Color aColor(pAccess->GetPixel(142, 140).GetColor()); ^~~~~~~~ getBColor Change-Id: I7db2e678ddfadcbd55b3cb87613eeecb79d12ad5 Reviewed-on: https://gerrit.libreoffice.org/72253 Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de> Tested-by: Jenkins
This commit is contained in:
@@ -76,7 +76,7 @@ CPPUNIT_TEST_FIXTURE(Test, testFdo77229)
|
||||
Bitmap aBitmap = load("fdo77229.emf");
|
||||
Bitmap::ScopedReadAccess pAccess(aBitmap);
|
||||
// The green star was missing.
|
||||
Color aColor(pAccess->GetPixel(142, 140).GetColor());
|
||||
Color aColor(pAccess->GetPixel(142, 140));
|
||||
CPPUNIT_ASSERT_EQUAL(sal_uInt8(0), aColor.GetRed());
|
||||
CPPUNIT_ASSERT_EQUAL(sal_uInt8(0), aColor.GetBlue());
|
||||
CPPUNIT_ASSERT(aColor.GetGreen() == 0xfe || aColor.GetGreen() == 0xff);
|
||||
|
Reference in New Issue
Block a user