diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2013-02-18 19:32:34 -0600 |
---|---|---|
committer | Petr Mladek <pmladek@suse.cz> | 2013-02-19 11:05:20 +0000 |
commit | 0ff04e11c0e79a2969774c21df8e0d5822b54e08 (patch) | |
tree | c55bd7ff8c2f844a38f371870e33ef6879ee1213 /sd/source/ui/remotecontrol | |
parent | f68b89cbfd76e43a701f8457a3a97c87be74758a (diff) |
fdo#60719 : fix crash on scaling bmp with target/source width/height = 1
The rendering is quite ugly compared to the same pdf opened
with pdf reader. but at least it does not crash anymore.
The function ImplCreateRotatedScaled seems quite sub-optimal
for one thing it is called even when there is no rotation
and still bother with doing a lot of work to 'rotate' things.
It was assuming Width and Height > 1 for both the source and the target
The patch tries to 'hide' the misery... but I'm not convinced
that this is 'right'.
Change-Id: I9aec5eb6655ea3678aa018ae5928dabb8058bec6
Reviewed-on: https://gerrit.libreoffice.org/2195
Reviewed-by: Arnaud Versini <arnaud.versini@gmail.com>
Tested-by: Arnaud Versini <arnaud.versini@gmail.com>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/2248
Reviewed-by: Petr Mladek <pmladek@suse.cz>
Tested-by: Petr Mladek <pmladek@suse.cz>
Diffstat (limited to 'sd/source/ui/remotecontrol')
0 files changed, 0 insertions, 0 deletions