diff options
author | Michael Stahl <Michael.Stahl@cib.de> | 2020-01-21 13:15:50 +0100 |
---|---|---|
committer | Michael Stahl <michael.stahl@allotropia.de> | 2022-06-22 13:44:49 +0200 |
commit | f9d31904c9b5fa802d9abe28f542a2dd7bcff699 (patch) | |
tree | 1d38e2ad6bc1477fb35914eab3f13476e14c77f8 /desktop | |
parent | Fix crash when no valid EntryDescriptor found (diff) | |
download | core-f9d31904c9b5fa802d9abe28f542a2dd7bcff699.tar.gz core-f9d31904c9b5fa802d9abe28f542a2dd7bcff699.zip |
tdf#45589 sw: invalidate on bookmark insertion/deletion
Invalidate the text frames when a bookmark is inserted or deleted; also
when MarkManager::repositionMark() changes the positions.
The other calls of SetMarkPos()/SetOtherMarkPos() look like they're all
from code that corrects positions after text insertions or deletions so
no additional invalidate should be necessary there.
It turns out that one WW8 document in sw_filters_test wants to insert
a bookmark on a SwGrfNode; check for that in makeMark().
Change-Id: I293e6da9042bea5992cb27091b9cff77e5c7961d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87157
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@cib.de>
(cherry picked from commit ef8427d12a63127a2eb867637699343d630545dd)
Note, this was already cherry-picked as commit
011f7c8a461ff6e0b3e83bf2c90b1d4502406df1 but apparently some parts
missing.
Change-Id: I5daa88b8adb273c4f8a4a3c46c13f1fd70188554
Diffstat (limited to 'desktop')
0 files changed, 0 insertions, 0 deletions