diff options
author | Michael Stahl <Michael.Stahl@cib.de> | 2020-06-12 19:08:19 +0200 |
---|---|---|
committer | Michael Stahl <michael.stahl@cib.de> | 2020-06-17 10:30:00 +0200 |
commit | ad0351b84926075297fb74abbe9b31a0455782af (patch) | |
tree | 5aae2071f6a71dc539a05480d6bf3e45b75a9938 /dictionaries | |
parent | 188632be71502a2e16d9b688761c7e4870ce35c6 (diff) |
tdf#132944 sw_redlinehide: delete of insert redline
Because of an existing insert redline with SwComparePosition::Equal
this hits the DeleteAndJoin() call in AppendRedline() and so what
happens on Undo is that the SwUndoDelete first creates all the layout
frames and then the SwUndoRedlineDelete creates the frames a 2nd time.
Because this can happen not only for Equal but also Inside case, it
appears best to prevent the "inner" Undo from recreating the frames;
it's always SwUndoDelete.
This is quite hacky...
Change-Id: I4438dd09bb6c2edf8154d333de403483768755fd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96233
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@cib.de>
Diffstat (limited to 'dictionaries')
0 files changed, 0 insertions, 0 deletions