sw/source/core/frmedt/feshview.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 7bd94d73ec56622685d0e23f8b5133ba110524be Author: Julien Nabet <serval2...@yahoo.fr> Date: Wed Jun 25 21:58:47 2014 +0200 Resolves fdo#54155: Crash when playing with a Group inside a Group Change-Id: I89c80fca1cdc8bc88172eaf8057141d5e42a06dc diff --git a/sw/source/core/frmedt/feshview.cxx b/sw/source/core/frmedt/feshview.cxx index 6ff58cc..1d7ac9b 100644 --- a/sw/source/core/frmedt/feshview.cxx +++ b/sw/source/core/frmedt/feshview.cxx @@ -1136,7 +1136,7 @@ bool SwFEShell::ShouldObjectBeSelected(const Point& rPt) // Don't select header / footer objects in body edition and vice-versa SwContact* pContact = static_cast<SwContact*>(pObj->GetUserCall()); - if ( !pContact->ObjAnchoredAtPage() ) + if (pContact && !pContact->ObjAnchoredAtPage() ) { const SwPosition& rPos = pContact->GetCntntAnchor(); bool bInHdrFtr = GetDoc()->IsInHeaderFooter( rPos.nNode ); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits