diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-11-07 21:06:18 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-11-07 21:06:42 +0000 |
commit | ba59fc533b6ac393969b456e72223d7d839b46c1 (patch) | |
tree | 7b13e04ec55bd7abe862bc1bd79db9ed0396ec7f /sd/source/ui | |
parent | bbdecd902bf2844d781dc1550a1d24bcac80b260 (diff) |
coverity#1251173 Dereference before null check
Change-Id: I2e7f98f6b2df5f87be546606f86fd29202050d87
Diffstat (limited to 'sd/source/ui')
-rw-r--r-- | sd/source/ui/view/drviewse.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/view/drviewse.cxx b/sd/source/ui/view/drviewse.cxx index 331b62b305de..d0901b11c304 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); |