diff options
author | Michael Stahl <mstahl@redhat.com> | 2015-03-12 19:55:36 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-03-12 20:22:19 +0100 |
commit | 259799f750d33321d7da8523c674e3c775f75005 (patch) | |
tree | 7b6469db383db610c0c5be92d4ee4d3a7d984eaa /sd | |
parent | 26f76420c0bcd002d2bfc17a017d373ea5396a9c (diff) |
sd: PVS-Studio V595 'mpViewShell' pointer could be null
Change-Id: I214fcfa300d2b75568f90fefa0bc752f90bf3a4d
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/func/fupoor.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/func/fupoor.cxx b/sd/source/ui/func/fupoor.cxx index 6097b3b41b0a..05072796b402 100644 --- a/sd/source/ui/func/fupoor.cxx +++ b/sd/source/ui/func/fupoor.cxx @@ -202,7 +202,7 @@ bool FuPoor::KeyInput(const KeyEvent& rKEvt) { if(rKEvt.GetKeyCode().IsMod1()) { - if(mpViewShell && mpViewShell->ISA(DrawViewShell)) + if (mpViewShell->ISA(DrawViewShell)) { DrawViewShell* pDrawViewShell = static_cast<DrawViewShell*>(mpViewShell); |