diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-07-20 14:09:36 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-07-20 15:46:48 +0200 |
commit | 76b43425d764fbc9bf4dac52054b1d94344f26b0 (patch) | |
tree | 08fc2fd50745b7aeb658ab22283df80cd116df06 /vcl/qa/cppunit/FontFeatureTest.cxx | |
parent | 7f697ec27b1175ed94228155935d9ccd3cd5606c (diff) |
tdf#118107 canvas opengl: avoid assertion failure with negative widths
In case an Impress shape has a "Fade in and Swivel" animation attached,
canvas calls OutputDevice::DrawBitmapEx() with a negative width. This
results in a call to OutputDevice::DrawDeviceAlphaBitmap(), which
asserts that the height/width is not negative.
Fix the problem by transforming the bitmap before calling
OutputDevice::DrawBitmapEx() in the GL case, similarly to how "complex"
transformations are handled already.
Change-Id: I65ccc8a984132c5921d6096bfe9c7a8fcfacd8dd
Reviewed-on: https://gerrit.libreoffice.org/57774
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins
Diffstat (limited to 'vcl/qa/cppunit/FontFeatureTest.cxx')
0 files changed, 0 insertions, 0 deletions