diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2021-12-06 15:02:21 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2021-12-06 16:45:24 +0100 |
commit | d519d0a434310c0ee7cc4a1c04a6ff7c59f87f53 (patch) | |
tree | 97637e32bf1200f739ec7d1b88b8f131dbb9e0a2 /cppcanvas/qa | |
parent | 8406139062d9ffe1daed32aefe4e261c6c55d63e (diff) |
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 <sbergman@redhat.com>
Diffstat (limited to 'cppcanvas/qa')
-rw-r--r-- | cppcanvas/qa/extras/emfplus/emfplus.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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); |