bnc#382137 SwFrm::CheckPageDescs: notify clients about deleted SwPageFrm
The problem is the following: SwLayAction::InternalAction() saves pPage->GetPrev() as pTmp, then SwFrm::CheckPageDescs(pPage) is called, which deletes pPage->GetPrev(). SwLayAction has no idea that pTmp got deleted, and later passes it to unlockPositionOfObjects(), which obviously assumes a valid pointer. To be on the safe side, just provide a possibility to let the caller know its pointer has been deleted. Change-Id: Ibb4d83266b1f4b6146a12dce0d4701f1056deecd
Showing
Please
register
or
sign in
to comment