diff options
author | Szymon Kłos <szymon.klos@collabora.com> | 2023-06-22 16:46:22 +0200 |
---|---|---|
committer | Szymon Kłos <szymon.klos@collabora.com> | 2023-07-05 13:05:38 +0200 |
commit | ea030aeffd839f1078c137cb19cb1694d0581d42 (patch) | |
tree | 849248523b34c6d435cb8f2dbd9e99ca0304b583 /xmlsecurity/README.md | |
parent | 05c3a3e12e6424d13a777f863921193ab7fe172e (diff) |
lok: use correct shell when doing undo
When doing undo we save EditShell reference in the context object.
Later it is used to get cursor we want to move to the place
where modification was done (in sw/source/core/undo/unins.cxx:281).
In LOK case when 2 different sessions were used and undo was done
by user A - then user's B cursor was moved. This fixes that issue.
We use current shell instead of getting it indirectly through
SwDoc::GetEditShell()
Change-Id: I7a10ea98587f48818e8d0aaa9ad739d4eed514f5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153461
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153986
Tested-by: Jenkins
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Diffstat (limited to 'xmlsecurity/README.md')
0 files changed, 0 insertions, 0 deletions