cppcanvas/qa/extras/emfplus/emfplus.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit f9ec7e6750680f912ce592e2cf2a10a9fca33b83 Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Mon Dec 6 15:02:21 2021 +0100 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Mon Dec 13 10:03:16 2021 +0100 Adapt CppunitTest_cppcanvas_emfplus CPPUNIT_TEST_NAME=testFdo77229::TestBody ...to 374e261ad1ea8b41f5ecdd850c27fdc961c4868b "increase maximum document thumbnail size from 256 to 512" (which wasn't caught by Jenkins due to bcd243793ee4174d71b5e61c88d2bc79fd0d7f1d "CppunitTest_cppcanvas_emfplus: disable this in case there is no display to use") Change-Id: Ibe3dc93401e237c37b4823f0393746b1e8b569bb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126424 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sberg...@redhat.com> (cherry picked from commit d519d0a434310c0ee7cc4a1c04a6ff7c59f87f53) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126680 diff --git a/cppcanvas/qa/extras/emfplus/emfplus.cxx b/cppcanvas/qa/extras/emfplus/emfplus.cxx index 92bc161784ad..6866310b5508 100644 --- a/cppcanvas/qa/extras/emfplus/emfplus.cxx +++ b/cppcanvas/qa/extras/emfplus/emfplus.cxx @@ -78,7 +78,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)); + Color aColor(pAccess->GetPixel(284, 280)); CPPUNIT_ASSERT_EQUAL(sal_uInt8(0), aColor.GetRed()); CPPUNIT_ASSERT_EQUAL(sal_uInt8(0), aColor.GetBlue()); CPPUNIT_ASSERT(aColor.GetGreen() == 0xfe || aColor.GetGreen() == 0xff);