forked from amazingfate/loongoffice
coverity#705863 Dereference before null check
Change-Id: I0e4d3add3adc2e387c5735b75eb5e3638f24c12b
This commit is contained in:
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user