Kaydet (Commit) 259799f7 authored tarafından Michael Stahl's avatar Michael Stahl

sd: PVS-Studio V595 'mpViewShell' pointer could be null

Change-Id: I214fcfa300d2b75568f90fefa0bc752f90bf3a4d
üst 26f76420
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment