diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-10-14 09:35:26 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-10-14 10:59:42 +0100 |
commit | e7515cdae07369ced5eca5b5845bd3679bee10b6 (patch) | |
tree | 7c773235e28b137d3cf4b995ce5cbcebfc867edb /sd/source/ui/func | |
parent | 8e7306604d3e5ac883abef1f3518ae04a392431f (diff) |
coverity#1326209 Dereference after null check
Change-Id: Ie8a10cb0f92758b45aff456f52331092e8a4e1df
Diffstat (limited to 'sd/source/ui/func')
-rw-r--r-- | sd/source/ui/func/fuformatpaintbrush.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/func/fuformatpaintbrush.cxx b/sd/source/ui/func/fuformatpaintbrush.cxx index 8c6ff03dbadb..6ffcbbd3ef41 100644 --- a/sd/source/ui/func/fuformatpaintbrush.cxx +++ b/sd/source/ui/func/fuformatpaintbrush.cxx @@ -204,7 +204,7 @@ bool FuFormatPaintBrush::MouseButtonUp(const MouseEvent& rMEvt) bool FuFormatPaintBrush::KeyInput(const KeyEvent& rKEvt) { - if( (rKEvt.GetKeyCode().GetCode() == KEY_ESCAPE) && mpViewShell ) + if (rKEvt.GetKeyCode().GetCode() == KEY_ESCAPE) { implcancel(); return true; |