Kaydet (Commit) 10d728b6 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1266468 Dereference null return value

Change-Id: I5ea0e972eeb585870f309e7e73ba4b1ece5dfa6a
üst 6ede99c8
......@@ -1072,8 +1072,11 @@ void SwView::Execute(SfxRequest &rReq)
pVFrame->ToggleChildWindow( SID_NAVIGATOR );
pCh = pVFrame->GetChildWindow( SID_NAVIGATOR );
}
static_cast<SwNavigationPI*>( pCh->GetContextWindow(SW_MOD()))->CreateNavigationTool(
GetVisArea(), true, &pVFrame->GetWindow());
if (pCh)
{
static_cast<SwNavigationPI*>( pCh->GetContextWindow(SW_MOD()))->CreateNavigationTool(
GetVisArea(), true, &pVFrame->GetWindow());
}
}
break;
case SID_JUMPTOMARK:
......
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