Kaydet (Commit) 98cd13b1 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#735880 Dereference after null check

Change-Id: Id7bc74352d6808a074fe227e11f998e95a050329
üst 94d3b93d
......@@ -729,8 +729,7 @@ void SdrUndoRemoveObj::Undo()
// position of the target object.
Point aOwnerAnchorPos(0, 0);
if(pObjList &&
dynamic_cast<const SdrObjGroup*>(pObjList->GetOwnerObj()) != nullptr)
if (dynamic_cast<const SdrObjGroup*>(pObjList->GetOwnerObj()) != nullptr)
{
aOwnerAnchorPos = pObjList->GetOwnerObj()->GetAnchorPos();
}
......
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