summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-10-14 10:04:37 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-10-14 10:59:47 +0100
commitbbc0e62663e198ca9ff247ba4cc348c29523e0b5 (patch)
tree74cfc0752d11517c1b441dae3a4c44f26f92f975 /svx
parent15e75e05001bae7601d0d47a9eae809b14199392 (diff)
coverity#735880 Dereference after null check
Change-Id: Id31bac44391f0319ec31c72b77f1b471c32d0a68
Diffstat (limited to 'svx')
-rw-r--r--svx/source/svdraw/svdundo.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/svx/source/svdraw/svdundo.cxx b/svx/source/svdraw/svdundo.cxx
index f9034100968f..44cf554eea28 100644
--- a/svx/source/svdraw/svdundo.cxx
+++ b/svx/source/svdraw/svdundo.cxx
@@ -730,7 +730,6 @@ void SdrUndoRemoveObj::Undo()
Point aOwnerAnchorPos(0, 0);
if(pObjList &&
- pObjList->GetOwnerObj() &&
dynamic_cast<const SdrObjGroup*>(pObjList->GetOwnerObj()) != nullptr)
{
aOwnerAnchorPos = pObjList->GetOwnerObj()->GetAnchorPos();