[Libreoffice-commits] core.git: sw/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Thu Sep 10 12:35:29 UTC 2020
sw/source/core/layout/objectformattertxtfrm.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 732d6b4209f24622972116505ad6b500e3ecc293
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Wed Sep 9 19:47:17 2020 +0100
Commit: Caolán McNamara <caolanm at 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 <caolanm at 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 )
{
More information about the Libreoffice-commits
mailing list