diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-03-05 16:35:41 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-05 20:41:04 +0000 |
commit | 229e59d478c77160659c93ed328b883552519e09 (patch) | |
tree | 6af4523259151381efa3d46f110940d147466c8e /sd | |
parent | 0b6726867de88e49b9de19ea7da7defb7f808130 (diff) |
coverity#704749 Dereference after null check
Change-Id: Id74676712afb4753c9e2b1a81043190451b90f01
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/func/fudraw.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/func/fudraw.cxx b/sd/source/ui/func/fudraw.cxx index f91c4c40bd93..6974f6a56e5b 100644 --- a/sd/source/ui/func/fudraw.cxx +++ b/sd/source/ui/func/fudraw.cxx @@ -381,7 +381,7 @@ sal_Bool FuDraw::KeyInput(const KeyEvent& rKEvt) { if (!mpDocSh->IsReadOnly()) { - if ( mpView && mpView->IsPresObjSelected(sal_False, sal_True, sal_False, sal_True) ) + if (mpView->IsPresObjSelected(sal_False, sal_True, sal_False, sal_True)) { InfoBox(mpWindow, SD_RESSTR(STR_ACTION_NOTPOSSIBLE) ).Execute(); } |