summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@canonical.com>2011-09-22 18:47:21 +0200
committerBjoern Michaelsen <bjoern.michaelsen@canonical.com>2011-09-26 22:20:43 +0200
commitf8f5d96666bff5051cc88d06b10d855548a441de (patch)
tree48dcab1e45bc58dc3f633d361fc2660f15c5bdb6
parenta0b3fc96fe985068fc794646570a0f74568941ec (diff)
fdo#39510 lp#854626: crash on closing document with footnotes
Signed-off-by: Michael Stahl <mst@openoffice.org>
-rw-r--r--sw/source/core/layout/newfrm.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/source/core/layout/newfrm.cxx b/sw/source/core/layout/newfrm.cxx
index 86eefcb9a2..7f19c1a398 100644
--- a/sw/source/core/layout/newfrm.cxx
+++ b/sw/source/core/layout/newfrm.cxx
@@ -607,6 +607,7 @@ SwRootFrm::~SwRootFrm()
{
bTurboAllowed = sal_False;
pTurbo = 0;
+ AllRemoveFtns();
if(pBlink)
pBlink->FrmDelete( this );
if ( static_cast<SwFrmFmt*>(GetRegisteredInNonConst()) )