[Libreoffice-commits] core.git: accessibility/source

Norbert Thiebaud nthiebaud at gmail.com
Mon Feb 18 07:34:11 PST 2013


 accessibility/source/standard/vclxaccessibletabpagewindow.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 2c570973cc9e206539e7177efcac27569deef62d
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date:   Mon Feb 18 00:32:26 2013 -0600

    coverity#707602 Uninitialized pointer field
    
    Change-Id: I70fa5899f3bb1eeb22eb18d77f2c816ec60aa97c
    Reviewed-on: https://gerrit.libreoffice.org/2212
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/accessibility/source/standard/vclxaccessibletabpagewindow.cxx b/accessibility/source/standard/vclxaccessibletabpagewindow.cxx
index 03aac5a..3865832 100644
--- a/accessibility/source/standard/vclxaccessibletabpagewindow.cxx
+++ b/accessibility/source/standard/vclxaccessibletabpagewindow.cxx
@@ -37,6 +37,8 @@ VCLXAccessibleTabPageWindow::VCLXAccessibleTabPageWindow( VCLXWindow* pVCLXWindo
     :VCLXAccessibleComponent( pVCLXWindow )
 {
     m_pTabPage = static_cast< TabPage* >( GetWindow() );
+    m_pTabControl = 0;
+    m_nPageId = 0;
     if ( m_pTabPage )
     {
         Window* pParent = m_pTabPage->GetAccessibleParentWindow();


More information about the Libreoffice-commits mailing list