sw/source/core/layout/objectformattertxtfrm.cxx | 1 + 1 file changed, 1 insertion(+)
New commits: commit 732d6b4209f24622972116505ad6b500e3ecc293 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Wed Sep 9 19:47:17 2020 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Thu Sep 10 14:34:48 2020 +0200 crashtesting: assert the condition making tdf122894-1.doc crash sometimes it doesn't happen to crash, but its always dereferencing a deleted frame Change-Id: I056808398c97c5de12542c6c342e7d9d7e5195d9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102334 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> diff --git a/sw/source/core/layout/objectformattertxtfrm.cxx b/sw/source/core/layout/objectformattertxtfrm.cxx index 609b5a527ac1..18b882b1e20d 100644 --- a/sw/source/core/layout/objectformattertxtfrm.cxx +++ b/sw/source/core/layout/objectformattertxtfrm.cxx @@ -737,6 +737,7 @@ void SwObjectFormatterTextFrame::FormatAnchorFrameAndItsPrevs( SwTextFrame& _rAn { // #i44049# _rAnchorTextFrame.LockJoin(); + SwFrameDeleteGuard aDeleteGuard(&_rAnchorTextFrame); SwFrame* pColFrame = pColFrameOfAnchor->GetUpper()->GetLower(); while ( pColFrame != pColFrameOfAnchor ) { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits