summaryrefslogtreecommitdiffstats
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-22 18:47:54 +0200
commitac1912ecb13709082026428d2b2a56c4915b939f (patch)
tree83987f306c1883bb29e5e875960e62e4d2370dce
parentadapt subsequent check only source too (diff)
downloadcore-ac1912ecb13709082026428d2b2a56c4915b939f.tar.gz
core-ac1912ecb13709082026428d2b2a56c4915b939f.zip
fdo#39510 lp#854626: crash on closing document with footnotes
-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 98444b46b739..924bdb312463 100644
--- a/sw/source/core/layout/newfrm.cxx
+++ b/sw/source/core/layout/newfrm.cxx
@@ -603,6 +603,7 @@ SwRootFrm::~SwRootFrm()
{
bTurboAllowed = sal_False;
pTurbo = 0;
+ AllRemoveFtns();
if(pBlink)
pBlink->FrmDelete( this );
if ( static_cast<SwFrmFmt*>(GetRegisteredInNonConst()) )