summaryrefslogtreecommitdiff
path: root/sw/qa/extras
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2022-02-04 15:01:26 +0100
committerMichael Meeks <michael.meeks@collabora.com>2022-02-04 19:13:21 +0100
commit0be8060a856f86fdfb42372e58073586b29c93fa (patch)
tree3250eb66ab5d1cce698ec47fc985081fad0c0483 /sw/qa/extras
parentc7923851d10e2dda9deb414dee67c4813d93bc87 (diff)
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.meeks@collabora.com>
Diffstat (limited to 'sw/qa/extras')
-rw-r--r--sw/qa/extras/tiledrendering/tiledrendering.cxx4
1 files changed, 2 insertions, 2 deletions
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()