Kaydet (Commit) 4d22bebe authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#735867 Dereference after null check

Change-Id: I6dce94b0f6ad68e9e748b258cd511119201245b9
üst 65ed07a8
......@@ -965,7 +965,7 @@ IMPL_LINK(FmXFormView, OnAutoFocus, void*, /*EMPTYTAG*/)
// ensure that the control is visible
// 80210 - 12/07/00 - FS
const Window* pCurrentWindow = dynamic_cast< const Window* >( m_pView->GetActualOutDev() );
const Window* pCurrentWindow = m_pView ? dynamic_cast<const Window*>(m_pView->GetActualOutDev()) : NULL;
if ( pCurrentWindow )
{
awt::Rectangle aRect = xControlWindow->getPosSize();
......
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