diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-10-14 12:24:31 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-10-14 15:02:45 +0100 |
commit | 98cd13b114883d2bbdb07cc57e5e91b18194083e (patch) | |
tree | 9c20d6306829224d59c5dbf92bcbb07b9b2b4bab /svx | |
parent | 94d3b93dd8985f64694478921c65569649094593 (diff) |
coverity#735880 Dereference after null check
Change-Id: Id7bc74352d6808a074fe227e11f998e95a050329
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/svdraw/svdundo.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/svx/source/svdraw/svdundo.cxx b/svx/source/svdraw/svdundo.cxx index 1c45387b2516..e2e4f53cecba 100644 --- a/svx/source/svdraw/svdundo.cxx +++ b/svx/source/svdraw/svdundo.cxx @@ -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(); } |