sw/qa/extras/tiledrendering/tiledrendering.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 1fb64ca1668d633460b4bebfe7385cf3e0fc5fec
Author:     Luboš Luňák <l.lu...@collabora.com>
AuthorDate: Fri Feb 4 15:01:26 2022 +0100
Commit:     Andras Timar <andras.ti...@collabora.com>
CommitDate: Thu Mar 17 10:04:32 2022 +0100

    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 <michael.me...@collabora.com>

diff --git a/sw/qa/extras/tiledrendering/tiledrendering.cxx 
b/sw/qa/extras/tiledrendering/tiledrendering.cxx
index b3e67f66a134..24e5876203e7 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()

Reply via email to