From 48f651ff976a6dbbb310e2365266cf616f8f84da Mon Sep 17 00:00:00 2001 From: Bjoern Michaelsen Date: Thu, 22 Sep 2011 18:11:26 +0200 Subject: [PATCH] fdo#39510 lp#854626: crash on closing document with footnotes --- sw/source/core/layout/newfrm.cxx | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/sw/source/core/layout/newfrm.cxx b/sw/source/core/layout/newfrm.cxx index 86eefcb..7f19c1a 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(GetRegisteredInNonConst()) ) -- 1.7.5.4