calc: on editing invalidation of view with different zoom is wrong
commit8a732d9ff15ba73835c3fa60208f954b772f5a9c
authorMarco Cecchetti <marco.cecchetti@collabora.com>
Mon, 4 Dec 2023 08:31:23 +0000 (4 09:31 +0100)
committerCaolán McNamara <caolan.mcnamara@collabora.com>
Tue, 5 Dec 2023 10:08:34 +0000 (5 11:08 +0100)
treeb619e02545bcf8c1f7c08e9312046e178d655c37
parent4b6a1c05b03f2108ff48018606fde070d0b019bd
calc: on editing invalidation of view with different zoom is wrong

This patch fixes the following invalidation issue:

There are 2 views with different zoom levels.
In a view text editing for a cell occurs.
The other view is not invalidated properly: the computed invalidation
rectangle is misplaced.

Change-Id: I72db61486647640ee68e6cb2db96b2902de5b997
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160303
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
editeng/source/editeng/editview.cxx
include/vcl/window.hxx
sc/qa/unit/tiledrendering/tiledrendering.cxx
sc/source/ui/inc/gridwin.hxx
sc/source/ui/view/gridwin4.cxx
vcl/source/window/paint.cxx