diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-04-15 21:08:13 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-04-16 11:23:13 +0100 |
commit | 5e651d4084df7662b56ea980934c0428ba31b062 (patch) | |
tree | dacf27aa62a56d0f8fb5d8724a39bc6ad29345f9 /sfx2/source | |
parent | 05551e886cded21a0df67a89f5dd7cf7b9e4de35 (diff) |
coverity#1202948 Uninitialized pointer field
Change-Id: I2764b1f9c3d50cf7ff7bd2c552a3dec93509b245
Diffstat (limited to 'sfx2/source')
-rw-r--r-- | sfx2/source/appl/workwin.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sfx2/source/appl/workwin.cxx b/sfx2/source/appl/workwin.cxx index 7e097d8b16e2..e952a7414468 100644 --- a/sfx2/source/appl/workwin.cxx +++ b/sfx2/source/appl/workwin.cxx @@ -586,6 +586,7 @@ SfxWorkWindow::SfxWorkWindow( Window *pWin, SfxBindings& rB, SfxWorkWindow* pPar pWorkWin (pWin), pConfigShell( 0 ), pActiveChild( 0 ), + nUpdateMode(SFX_VISIBILITY_STANDARD), nChildren( 0 ), nOrigMode( 0 ), bSorted( true ), @@ -605,6 +606,7 @@ SfxWorkWindow::SfxWorkWindow( Window *pWin, SfxBindings& rB, SfxWorkWindow* pPar m_aTbxTypeName( "private:resource/toolbar/" ), m_aProgressBarResName( "private:resource/progressbar/progressbar" ) { + memset(pSplit, 0, sizeof(pSplit)); DBG_ASSERT (pBindings, "No Bindings!"); pBindings->SetWorkWindow_Impl( this ); |