diff --git a/sw/source/core/layout/ssfrm.cxx b/sw/source/core/layout/ssfrm.cxx index 02f834f4a5d8..f4831edb2464 100644 --- a/sw/source/core/layout/ssfrm.cxx +++ b/sw/source/core/layout/ssfrm.cxx @@ -367,6 +367,12 @@ void SwFrm::Destroy() delete mpDrawObjs; mpDrawObjs = 0; } + + SwLayoutFrm *pFrm = GetUpper(); + if (pFrm && pFrm->pLower == this) + { + pFrm->pLower = NULL; + } } SwFrm::~SwFrm()