svx-lok: incomplete invalidation when resizing/deleting...cp-21.06.13-1
commit242d2752aa6af2c52affc90e84b58c59c5fa779d
authorDennis Francis <dennis.francis@collabora.com>
Mon, 17 Jan 2022 06:06:24 +0000 (17 11:36 +0530)
committerJan Holesovsky <kendy@collabora.com>
Mon, 17 Jan 2022 18:30:43 +0000 (17 19:30 +0100)
tree87c5cc60ead463eccce5d8c07f3e76e774668f6c
parentf31219cf3b1ad517b919db6cc6ac11163e85fe25
svx-lok: incomplete invalidation when resizing/deleting...

shapes in writer. The problematic commit is

5e37acbaaa0b0891829907331ecacd2d3b67526d
lokCalcRTL: shapes: do not send negative(X) invalidations

The above change forced the lok mode to use the second branch hence avoid the
view-transformation based invalidation. This patch restores the old
branching condition, but do the negation of invalidation rectangle in
case of lok-calc-rtl mode(IsNegativeX).

Change-Id: I679473f0610d2edabeb6071edbb32a63a436d053
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128491
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
svx/source/svdraw/sdrpagewindow.cxx