summaryrefslogtreecommitdiff
path: root/editeng/inc/editdoc.hxx
diff options
context:
space:
mode:
authorMichael Stahl <michael.stahl@allotropia.de>2022-06-13 15:59:12 +0200
committerMichael Stahl <michael.stahl@allotropia.de>2022-06-14 11:36:48 +0200
commit6de844c5da695bf4605bef5510d33e74a7ff04ee (patch)
treedcff80674637b2df9ff8506bc1f5834d9c18ff58 /editeng/inc/editdoc.hxx
parentef1be22efb3e1625da1683ea98392cc41657b1cd (diff)
tdf#149507 sw: don't delete bookmarks in SwUndoInsLayFormat::UndoImpl()
The problem is that the CorrAbs() here deletes the bookmarks in the fly, and this isn't supposed to happen at this point, because DelFly() will call SaveSection(), which saves the bookmarks in the m_pHistory via DelContentIndex(), so that they can be re-inserted in Redo/InsFly(). Also change the code that was inserted in commit 0ee28fdf3e9a0bd8763eda6299af1d5c873a9dcf to not call CorrAbs(). (although this bug has existed forever, crashing is a regression from commit 657de5fba12b0e9afcdee361654d2a2d0dbd7311) Change-Id: Iabac0ccf5587d5d974e88cbbc3e05bbaed3526f3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135728 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Diffstat (limited to 'editeng/inc/editdoc.hxx')
0 files changed, 0 insertions, 0 deletions