sw/source/core/text/txtftn.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 06c680b8861e41bfa4ce95a69fa3feeb080bb350
Author: Caolán McNamara <[email protected]>
AuthorDate: Mon Aug 13 12:29:57 2018 +0100
Commit: Caolán McNamara <[email protected]>
CommitDate: Mon Aug 13 14:57:16 2018 +0200
reuse of pCont implies its not supposed to be deleted in this scope
Change-Id: I7c98c5e2a334966dc63a55fab96fa983ea542378
Reviewed-on: https://gerrit.libreoffice.org/58926
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <[email protected]>
Tested-by: Caolán McNamara <[email protected]>
diff --git a/sw/source/core/text/txtftn.cxx b/sw/source/core/text/txtftn.cxx
index 78e30ed4f3e8..e07aac8691d9 100644
--- a/sw/source/core/text/txtftn.cxx
+++ b/sw/source/core/text/txtftn.cxx
@@ -689,6 +689,7 @@ void SwTextFrame::ConnectFootnote( SwTextFootnote
*pFootnote, const SwTwips nDea
// We have some room left, so the Footnote can grow
if ( pFootnoteFrame->GetFollow() && nDiff > 0 )
{
+ SwFrameDeleteGuard aDeleteGuard(pCont);
SwTwips nHeight =
aRectFnSet.GetHeight(pCont->getFrameArea());
pBoss->RearrangeFootnotes( nDeadLine, false, pFootnote );
ValidateBodyFrame();
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits