diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-06-04 11:08:45 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-06-04 12:34:13 +0100 |
commit | 70c38b20669775b5a1ac0f3bcaa622e0a2a66260 (patch) | |
tree | ce93cdb80235417f3aa17972f795b32456f54fdf | |
parent | f53169c74a3feae6f376e6f48859eebf07fc2187 (diff) |
coverity#705864 Dereference before null check
Change-Id: I69b3ec1c9eef117a55298781d15637b02281ff82
-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 bf10d9fc6d0a..475d31d1b283 100644 --- a/sd/source/ui/func/fusel.cxx +++ b/sd/source/ui/func/fusel.cxx @@ -182,13 +182,11 @@ bool FuSelection::MouseButtonDown(const MouseEvent& rMEvt) * end creation now. ******************************************************************/ bSuppressChangesOfSelection = true; - if(mpWindow) - mpWindow->EnterWait(); + mpWindow->EnterWait(); mpView->End3DCreation(); bSuppressChangesOfSelection = false; mpView->ResetCreationActive(); - if(mpWindow) - mpWindow->LeaveWait(); + mpWindow->LeaveWait(); } bool bTextEdit = false; |