From 229e59d478c77160659c93ed328b883552519e09 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 5 Mar 2014 16:35:41 +0000 Subject: coverity#704749 Dereference after null check Change-Id: Id74676712afb4753c9e2b1a81043190451b90f01 --- sd/source/ui/func/fudraw.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sd/source') 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(); } -- cgit