diff options
author | Michael Stahl <Michael.Stahl@cib.de> | 2020-05-26 16:43:27 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2020-05-29 18:05:00 +0200 |
commit | 8871f81f218dd49de27d528e54a515d1648d3554 (patch) | |
tree | 20d6e6b3c899006aefb78d79c2f573c591bf7e11 /sd/IwyuFilter_sd.yaml | |
parent | tdf#132236 sw_redlinehide: fix SwUndoDelete with sections even more (diff) | |
download | core-8871f81f218dd49de27d528e54a515d1648d3554.tar.gz core-8871f81f218dd49de27d528e54a515d1648d3554.zip |
tdf#131684 tdf#132236 sw_redlinehide: fix upper of frame moved...
... in SwUndoDelete::UndoImpl; this wasn't fixed properly in commit
6c7245e789f973cf6dad03f7008ab3f9d12d350c - the SwTextFrame was moved
into the SwSectionFrame but its upper was whatever it was previously.
This is rather ugly because with the constraint from the very special
case of tdf#131684 the MakeFrames() requires one node with pre-existing
frames, and it's not possible to move the pre-existing frame after
MakeFrames() because then the tdf#132236 case will have an empty
SwSectionFrame and InsertCnt_() will just delete it.
So try to detect the situation with some hack in InsertCnt_() to move
it into the SwSectionFrame.
(regression from 723728cd358693b8f4bc9d913541aa4479f2bd48)
Change-Id: Ic0199c85d7523a49676ad3df1d2c4d8fe135c2ff
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94881
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@cib.de>
(cherry picked from commit 55576842ec72a748d0bad123d41fa03c89fc136d)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95023
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'sd/IwyuFilter_sd.yaml')
0 files changed, 0 insertions, 0 deletions