From 0be8060a856f86fdfb42372e58073586b29c93fa Mon Sep 17 00:00:00 2001 From: Luboš Luňák Date: Fri, 4 Feb 2022 15:01:26 +0100 Subject: Revert "lok: copy over the alpha channel too for cairo..." Not needed in the end. This reverts commit 688051edf59a311371b84ea34db4991d3a164d52. Change-Id: If2474ccff0ada5fd0ca5206f10ca2893df0fe1f8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129491 Tested-by: Jenkins Reviewed-by: Michael Meeks --- sw/qa/extras/tiledrendering/tiledrendering.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sw') diff --git a/sw/qa/extras/tiledrendering/tiledrendering.cxx b/sw/qa/extras/tiledrendering/tiledrendering.cxx index b321ae9306a6..cc50ef8e9c83 100644 --- a/sw/qa/extras/tiledrendering/tiledrendering.cxx +++ b/sw/qa/extras/tiledrendering/tiledrendering.cxx @@ -2879,7 +2879,7 @@ void SwTiledRenderingTest::testHighlightNumbering() // Yellow highlighting over numbering Color aColor(pAccess->GetPixel(103, 148)); - CPPUNIT_ASSERT_EQUAL(Color(ColorTransparency, 0xFF, 0xFF, 0xFF, 0x00), aColor); + CPPUNIT_ASSERT_EQUAL(COL_YELLOW, aColor); } void SwTiledRenderingTest::testHighlightNumbering_shd() @@ -2904,7 +2904,7 @@ void SwTiledRenderingTest::testHighlightNumbering_shd() // No highlighting over numbering - w:shd does not apply to numbering. Color aColor(pAccess->GetPixel(103, 148)); - CPPUNIT_ASSERT_EQUAL(Color(ColorTransparency, 0xFF, 0xFF, 0xFF, 0xFF), aColor); + CPPUNIT_ASSERT_EQUAL(COL_WHITE, aColor); } void SwTiledRenderingTest::testPilcrowRedlining() -- cgit