summaryrefslogtreecommitdiff
path: root/sc/source/ui/undo/undobase.cxx
diff options
context:
space:
mode:
authorGökay Şatır <gokaysatir@collabora.com>2023-10-30 12:37:23 +0300
committerGökay ŞATIR <gokaysatir@collabora.com>2024-05-10 08:02:47 +0200
commita578321434ada456be3fc7a91b3da9321ce01c5a (patch)
tree9e93623e48328fb8fae66590870c3d78023bbee6 /sc/source/ui/undo/undobase.cxx
parentaa836383900a468a3d50abe534de028e47e343fd (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