coverity#705863 Dereference before null check

Change-Id: I0e4d3add3adc2e387c5735b75eb5e3638f24c12b
This commit is contained in:
Caolán McNamara
2014-06-04 11:09:12 +01:00
parent 70c38b2066
commit 9e2ca10d8a

View File

@ -723,13 +723,11 @@ bool FuSelection::MouseButtonUp(const MouseEvent& rMEvt)
if (bMirrorSide0 != bMirrorSide1)
{
bSuppressChangesOfSelection = true;
if(mpWindow)
mpWindow->EnterWait();
mpWindow->EnterWait();
mpView->End3DCreation();
bSuppressChangesOfSelection = false;
nSlotId = SID_OBJECT_SELECT;
if(mpWindow)
mpWindow->LeaveWait();
mpWindow->LeaveWait();
Activate();
}
}