Kaydet (Commit) 7bd94d73 authored tarafından Julien Nabet's avatar Julien Nabet

Resolves fdo#54155: Crash when playing with a Group inside a Group

Change-Id: I89c80fca1cdc8bc88172eaf8057141d5e42a06dc
üst e9ef3503
...@@ -1136,7 +1136,7 @@ bool SwFEShell::ShouldObjectBeSelected(const Point& rPt) ...@@ -1136,7 +1136,7 @@ bool SwFEShell::ShouldObjectBeSelected(const Point& rPt)
// Don't select header / footer objects in body edition and vice-versa // Don't select header / footer objects in body edition and vice-versa
SwContact* pContact = static_cast<SwContact*>(pObj->GetUserCall()); SwContact* pContact = static_cast<SwContact*>(pObj->GetUserCall());
if ( !pContact->ObjAnchoredAtPage() ) if (pContact && !pContact->ObjAnchoredAtPage() )
{ {
const SwPosition& rPos = pContact->GetCntntAnchor(); const SwPosition& rPos = pContact->GetCntntAnchor();
bool bInHdrFtr = GetDoc()->IsInHeaderFooter( rPos.nNode ); bool bInHdrFtr = GetDoc()->IsInHeaderFooter( rPos.nNode );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment