diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2021-02-11 16:24:18 +0100 |
---|---|---|
committer | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2021-02-25 13:17:50 +0100 |
commit | 9b8500bbbe9a738fed6ba4b54e11cfecd0c34977 (patch) | |
tree | fb8997dde28a54a005ce4e096604e136aecdfcff /xmlsecurity | |
parent | 0f420660c2a320d4f843a4efb0eed7ece3acbd2c (diff) |
fix test for tdf#137413
libreoffice-7-1-1
The test tested for the topleft corner to be transparent and not black,
but the bitmap has a black outline, so the corner actually should be
black, unlike the rest of the bitmap. I have no idea how the test
could have possibly passed (and those #if tests indicate that it
correctly failed with most drawing backends). What apparently enabled
this to pass was commit 828504974d70111e, which made the drawing
use DrawTransformedBitmap() implementation in the VCL backends,
and the Cairo one apparently mishandles it. Reverting 828504974d70111e
made the test fail.
This commit fixes (and simplifies) the test.
Change-Id: I1560849d683558abbe0cde816c4505b9824a0692
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110769
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
(cherry picked from commit f52c5bea7775ac07cfacc232f0979a03bbdf9aa7)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110778
(cherry picked from commit ed6d37c3a24dd238cbf7fef47068318599fcfcb3)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111460
Tested-by: René Engelhard <rene@debian.org>
Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Diffstat (limited to 'xmlsecurity')
0 files changed, 0 insertions, 0 deletions