From bbc0e62663e198ca9ff247ba4cc348c29523e0b5 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 14 Oct 2015 10:04:37 +0100 Subject: coverity#735880 Dereference after null check Change-Id: Id31bac44391f0319ec31c72b77f1b471c32d0a68 --- svx/source/svdraw/svdundo.cxx | 1 - 1 file changed, 1 deletion(-) (limited to 'svx') 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(pObjList->GetOwnerObj()) != nullptr) { aOwnerAnchorPos = pObjList->GetOwnerObj()->GetAnchorPos(); -- cgit