Kaydet (Commit) 267c3703 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#705838 Dereference before null check

Change-Id: I9a18699554bb0831478e5ca177e87ae11a6206cf
üst 1c45064b
...@@ -379,7 +379,7 @@ bool FuSelection::MouseButtonUp(const MouseEvent& rMEvt) ...@@ -379,7 +379,7 @@ bool FuSelection::MouseButtonUp(const MouseEvent& rMEvt)
SetMouseButtonCode(rMEvt.GetButtons()); SetMouseButtonCode(rMEvt.GetButtons());
bool bReturn = FuDraw::MouseButtonUp(rMEvt); bool bReturn = FuDraw::MouseButtonUp(rMEvt);
bool bOle = pViewShell->GetViewFrame()->GetFrame().IsInPlace(); bool bOle = pViewShell ? pViewShell->GetViewFrame()->GetFrame().IsInPlace() : false;
SdrObject* pObj = NULL; SdrObject* pObj = NULL;
SdrPageView* pPV = NULL; SdrPageView* pPV = NULL;
......
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