diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-06-04 11:09:12 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-06-04 12:34:14 +0100 |
commit | 9e2ca10d8aba0d23f38fbfe40887f7372e5881b7 (patch) | |
tree | ec0859a7faabdba2d0f2d44010a6de5a26dba0a4 /sd | |
parent | 70c38b20669775b5a1ac0f3bcaa622e0a2a66260 (diff) |
coverity#705863 Dereference before null check
Change-Id: I0e4d3add3adc2e387c5735b75eb5e3638f24c12b
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/func/fusel.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sd/source/ui/func/fusel.cxx b/sd/source/ui/func/fusel.cxx index 475d31d1b283..032aab75fffd 100644 --- a/sd/source/ui/func/fusel.cxx +++ b/sd/source/ui/func/fusel.cxx @@ -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(); } } |