diff options
author | Gökay Şatır <gokaysatir@collabora.com> | 2023-10-30 12:37:23 +0300 |
---|---|---|
committer | Gökay ŞATIR <gokaysatir@collabora.com> | 2024-05-10 08:02:47 +0200 |
commit | a578321434ada456be3fc7a91b3da9321ce01c5a (patch) | |
tree | 9e93623e48328fb8fae66590870c3d78023bbee6 /sc/source/ui/undo/undobase.cxx | |
parent | aa836383900a468a3d50abe534de028e47e343fd (diff) |
Fix row deletion bug.
When multiple users are editing a Calc document:
* If one user selects a whole row and another one deletes a range of rows including or above the selected row, app crashes.
* This PR fixes the crash.
* Also when multiple rows are deleted, other user's selected row is moved only one row. This PR moves the selected row according to the deleted row count.
* The cursor position was also causing a crash, fixed.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: Ie4b893fee7192492efacbb167b747434336384e3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158650
Reviewed-by: Marco Cecchetti <marco.cecchetti@collabora.com>
Tested-by: Marco Cecchetti <marco.cecchetti@collabora.com>
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167373
Diffstat (limited to 'sc/source/ui/undo/undobase.cxx')
0 files changed, 0 insertions, 0 deletions