coverity#707601 Uninitialized pointer field

Change-Id: I1b7c13be91bd2047a4141b6d7d8e4363b0ddcf4f
Reviewed-on: https://gerrit.libreoffice.org/2211
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
Norbert Thiebaud
2013-02-18 00:28:22 -06:00
committed by Caolán McNamara
parent 2c570973cc
commit 7f51d6fa0d

View File

@@ -45,6 +45,10 @@ VCLXAccessibleMenuBar::VCLXAccessibleMenuBar( Menu* pMenu )
if ( m_pWindow )
m_pWindow->AddEventListener( LINK( this, VCLXAccessibleMenuBar, WindowEventListener ) );
}
else
{
m_pWindow = 0;
}
}
// -----------------------------------------------------------------------------