[Libreoffice-commits] core.git: accessibility/source
Norbert Thiebaud
nthiebaud at gmail.com
Mon Feb 18 07:35:07 PST 2013
accessibility/source/standard/vclxaccessiblemenubar.cxx | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit 7f51d6fa0d6d38532cee447ffc65dea4b3583d7c
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date: Mon Feb 18 00:28:22 2013 -0600
coverity#707601 Uninitialized pointer field
Change-Id: I1b7c13be91bd2047a4141b6d7d8e4363b0ddcf4f
Reviewed-on: https://gerrit.libreoffice.org/2211
Tested-by: Caolán McNamara <caolanm at redhat.com>
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/accessibility/source/standard/vclxaccessiblemenubar.cxx b/accessibility/source/standard/vclxaccessiblemenubar.cxx
index 6f9f6a9..3a11316 100644
--- a/accessibility/source/standard/vclxaccessiblemenubar.cxx
+++ b/accessibility/source/standard/vclxaccessiblemenubar.cxx
@@ -45,6 +45,10 @@ VCLXAccessibleMenuBar::VCLXAccessibleMenuBar( Menu* pMenu )
if ( m_pWindow )
m_pWindow->AddEventListener( LINK( this, VCLXAccessibleMenuBar, WindowEventListener ) );
}
+ else
+ {
+ m_pWindow = 0;
+ }
}
// -----------------------------------------------------------------------------
More information about the Libreoffice-commits
mailing list