Kaydet (Commit) 36e24681 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#735877 Dereference after null check

Change-Id: I04da87e895d9b6724dd48fa579008944118f87bc
üst 0d58da8a
......@@ -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)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment