Kaydet (Commit) 0d58da8a authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#735878 Dereference after null check

Change-Id: I7607cef90750b5a527ff74fd3d793ed7c3a3811c
üst fcb49476
...@@ -323,7 +323,7 @@ SdrUndoAttrObj::~SdrUndoAttrObj() ...@@ -323,7 +323,7 @@ SdrUndoAttrObj::~SdrUndoAttrObj()
void SdrUndoAttrObj::Undo() void SdrUndoAttrObj::Undo()
{ {
E3DModifySceneSnapRectUpdater aUpdater(pObj); E3DModifySceneSnapRectUpdater aUpdater(pObj);
bool bIs3DScene(pObj && dynamic_cast< E3dScene* >(pObj) != nullptr); bool bIs3DScene(dynamic_cast< E3dScene* >(pObj) != nullptr);
// Trigger PageChangeCall // Trigger PageChangeCall
ImpShowPageOfThisObject(); ImpShowPageOfThisObject();
......
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