Kaydet (Commit) 229e59d4 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#704749 Dereference after null check

Change-Id: Id74676712afb4753c9e2b1a81043190451b90f01
üst 0b672686
......@@ -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();
}
......
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