summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdundo.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-10-14 10:04:58 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-10-14 10:59:47 +0100
commitfcb49476b43f67daf24793e3fadb601342064684 (patch)
tree5a4fb243613739ae7061779c87d55c7a8cd96f33 /svx/source/svdraw/svdundo.cxx
parentbbc0e62663e198ca9ff247ba4cc348c29523e0b5 (diff)
coverity#735879 Dereference after null check
Change-Id: I07661496c70fba3e012a3bb4f9bc592377eb124c
Diffstat (limited to 'svx/source/svdraw/svdundo.cxx')
-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 44cf554eea28..44720da60dae 100644
--- a/svx/source/svdraw/svdundo.cxx
+++ b/svx/source/svdraw/svdundo.cxx
@@ -792,7 +792,6 @@ void SdrUndoInsertObj::Redo()
// <InsertObject(..)>. Needed for correct Redo in Writer. (#i45952#)
Point aAnchorPos( 0, 0 );
if ( pObjList &&
- pObjList->GetOwnerObj() &&
dynamic_cast<const SdrObjGroup*>(pObjList->GetOwnerObj()) != nullptr )
{
aAnchorPos = pObj->GetAnchorPos();