diff options
author | Michael Stahl <michael.stahl@allotropia.de> | 2021-12-02 14:17:14 +0100 |
---|---|---|
committer | Thorsten Behrens <thorsten.behrens@allotropia.de> | 2021-12-21 23:51:24 +0100 |
commit | bd67d8fa408630da4ca6959ee9981d36afb6cb85 (patch) | |
tree | 296accc5d51452df591851875eba6377b738d5aa /uitest | |
parent | tdf#104823: basic support for reading field data from databinding (diff) | |
download | core-bd67d8fa408630da4ca6959ee9981d36afb6cb85.tar.gz core-bd67d8fa408630da4ca6959ee9981d36afb6cb85.zip |
tdf#136452 sw_redlinehide: fix crash in undo of delete across sections
The problem is that on the first SwUndoDelete, the m_nSectDiff branch
MoveNodes() creates a top-level SwTextFrame for the node "Korean", then
the m_nReplaceDummy branch does another MoveNodes() to move the same
node into the section, but its frame remains outside the section.
Generalize fix 55576842ec72a748d0bad123d41fa03c89fc136d for tdf#131684
to check the last SwTextNode inside the section if it has a frame
outside the SwSectionFrame.
(regression from 6c7245e789f973cf6dad03f7008ab3f9d12d350c)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126257
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
(cherry picked from commit 2b256c84aa4c063c8161b32a7b424daa28b5741b)
Change-Id: I30495d8f3d8fc0d70cb20df44409174edc2d4a4f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127152
Tested-by: Michael Stahl <michael.stahl@allotropia.de>
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Diffstat (limited to 'uitest')
0 files changed, 0 insertions, 0 deletions