[Libreoffice-commits] core.git: sd/source
Caolán McNamara
caolanm at redhat.com
Fri Nov 7 13:07:20 PST 2014
sd/source/ui/view/drviewse.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit ba59fc533b6ac393969b456e72223d7d839b46c1
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Nov 7 21:06:18 2014 +0000
coverity#1251173 Dereference before null check
Change-Id: I2e7f98f6b2df5f87be546606f86fd29202050d87
diff --git a/sd/source/ui/view/drviewse.cxx b/sd/source/ui/view/drviewse.cxx
index 331b62b..d0901b1 100644
--- a/sd/source/ui/view/drviewse.cxx
+++ b/sd/source/ui/view/drviewse.cxx
@@ -672,7 +672,7 @@ void DrawViewShell::FuDeleteSelectedObjects()
::vcl::KeyCode aKCode(KEY_DELETE);
KeyEvent aKEvt( 0, aKCode);
- bConsumed = mpDrawView && mpDrawView->getSmartTags().KeyInput( aKEvt );
+ bConsumed = mpDrawView->getSmartTags().KeyInput( aKEvt );
if( !bConsumed && HasCurrentFunction() )
bConsumed = GetCurrentFunction()->KeyInput(aKEvt);
More information about the Libreoffice-commits
mailing list