diff options
author | Dennis Francis <dennis.francis@collabora.com> | 2021-11-11 15:22:28 +0530 |
---|---|---|
committer | Dennis Francis <dennis.francis@collabora.com> | 2022-01-26 06:58:09 +0100 |
commit | 688051edf59a311371b84ea34db4991d3a164d52 (patch) | |
tree | c4ef91cb9d468f305898f658d95dffb812cac60c /sw/qa/extras | |
parent | e9fce801c2a888b76fd8230343b04f72b5b6b5ce (diff) |
lok: copy over the alpha channel too for cairo...
...based svp-graphics
Conflicts:
vcl/source/gdi/bmpacc2.cxx
Change-Id: I653a8e4048c712911f44f610e13c7f6c3e323de2
(cherry picked from commit a9c473c3306e28462f9a1898a94277cf0adcbe5e)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128891
Tested-by: Jenkins
Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
Diffstat (limited to 'sw/qa/extras')
-rw-r--r-- | sw/qa/extras/tiledrendering/tiledrendering.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/qa/extras/tiledrendering/tiledrendering.cxx b/sw/qa/extras/tiledrendering/tiledrendering.cxx index cc50ef8e9c83..b321ae9306a6 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(COL_YELLOW, aColor); + CPPUNIT_ASSERT_EQUAL(Color(ColorTransparency, 0xFF, 0xFF, 0xFF, 0x00), 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(COL_WHITE, aColor); + CPPUNIT_ASSERT_EQUAL(Color(ColorTransparency, 0xFF, 0xFF, 0xFF, 0xFF), aColor); } void SwTiledRenderingTest::testPilcrowRedlining() |