Kaydet (Commit) 7feb0958 authored tarafından Norbert Thiebaud's avatar Norbert Thiebaud

coverity#704725 Unchecked dynamic cast

Change-Id: I524fe7b4ac1cc9a78b2295ec27730dded415bd02
üst ec09eac8
......@@ -204,7 +204,11 @@ void ScTabViewShell::Activate(sal_Bool bMDI)
if ( pChildWnd )
{
IAnyRefDialog* pRefDlg = dynamic_cast<IAnyRefDialog*>(pChildWnd->GetWindow());
pRefDlg->ViewShellChanged();
assert(pRefDlg);
if(pRefDlg)
{
pRefDlg->ViewShellChanged();
}
}
}
}
......
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