diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-10-14 10:05:57 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-10-14 10:59:48 +0100 |
commit | 36e2468151edc4dab1753ed2e41edf2a2867649b (patch) | |
tree | 13f58fd0b9c26556396b57173a4ad9ba869a7740 /svx | |
parent | 0d58da8ac132754331a7003d583b0181d713786e (diff) |
coverity#735877 Dereference after null check
Change-Id: I04da87e895d9b6724dd48fa579008944118f87bc
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/svdraw/svdundo.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/svdraw/svdundo.cxx b/svx/source/svdraw/svdundo.cxx index 2383688eb367..1c45387b2516 100644 --- a/svx/source/svdraw/svdundo.cxx +++ b/svx/source/svdraw/svdundo.cxx @@ -430,7 +430,7 @@ void SdrUndoAttrObj::Undo() void SdrUndoAttrObj::Redo() { E3DModifySceneSnapRectUpdater aUpdater(pObj); - bool bIs3DScene(pObj && dynamic_cast< E3dScene* >(pObj) != nullptr); + bool bIs3DScene(dynamic_cast< E3dScene* >(pObj) != nullptr); if(!pUndoGroup || bIs3DScene) { |