Fix Bitmap::Rotate
commitf1385af519ba9e5a6d78f89dcff83f1fd98feb60
authorSzymon Kłos <szymon.klos@collabora.com>
Sat, 5 Feb 2022 18:01:08 +0000 (5 19:01 +0100)
committerSzymon Kłos <szymon.klos@collabora.com>
Mon, 21 Feb 2022 06:19:42 +0000 (21 07:19 +0100)
tree06c0e6291e5e0e59bc991fc16384bd5f67672497
parent522bde9470bbb321813fa5f1ca8e3c2ebb1bb5cc
Fix Bitmap::Rotate

Bug introduced in:
    commit 74c46b12340f1afb1752f5df0bab91caca3ef63f
    speed up bitmap rotation

it was showing some artifacts in LOK when using previews in rotation
-> sin and cos values were used incorrectly

Change-Id: Id85c54d0aa4488f19e7b5db2e242fdb446626699
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129528
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130233
Tested-by: Jenkins
vcl/source/bitmap/bitmappaint.cxx