diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2013-06-16 11:58:09 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2013-06-16 11:58:09 +0200 |
commit | f1967d9bd4a0cb1558b495b564202a9bde2ab323 (patch) | |
tree | c80de9ef8c4fb2006860234d883dae50b8bddb33 /sfx2 | |
parent | 2552bd3fa57521343dd437cdfca276c8cd35d131 (diff) |
cppcheck: fix the rest uninitMemberVar reports in sfx2
Change-Id: Id573ebbb5aee7662a585b73ecb4432158c472d46
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/appl/helpinterceptor.cxx | 1 | ||||
-rw-r--r-- | sfx2/source/bastyp/progress.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/control/shell.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/sidebar/FocusManager.cxx | 3 | ||||
-rw-r--r-- | sfx2/source/view/impviewframe.hxx | 2 |
5 files changed, 7 insertions, 3 deletions
diff --git a/sfx2/source/appl/helpinterceptor.cxx b/sfx2/source/appl/helpinterceptor.cxx index 3be6436e5466..2c70239f2512 100644 --- a/sfx2/source/appl/helpinterceptor.cxx +++ b/sfx2/source/appl/helpinterceptor.cxx @@ -43,6 +43,7 @@ extern void AppendConfigToken_Impl( String& rURL, sal_Bool bQuestionMark ); // s HelpInterceptor_Impl::HelpInterceptor_Impl() : m_pHistory ( NULL ), + m_pWindow ( NULL ), m_nCurPos ( 0 ) { diff --git a/sfx2/source/bastyp/progress.cxx b/sfx2/source/bastyp/progress.cxx index 9a49a1aa20c4..5650580d4eaa 100644 --- a/sfx2/source/bastyp/progress.cxx +++ b/sfx2/source/bastyp/progress.cxx @@ -103,7 +103,7 @@ void SfxProgress_Impl::Enable_Impl( sal_Bool bEnable ) // ----------------------------------------------------------------------- SfxProgress_Impl::SfxProgress_Impl( const String &/*rTitle*/ ) - : pActiveProgress( 0 ) + : pActiveProgress(0), pWorkWin(0), pView(0) { } diff --git a/sfx2/source/control/shell.cxx b/sfx2/source/control/shell.cxx index bbbe3f541533..810e0ed197b9 100644 --- a/sfx2/source/control/shell.cxx +++ b/sfx2/source/control/shell.cxx @@ -87,7 +87,7 @@ struct SfxShell_Impl: public SfxBroadcaster com::sun::star::uno::Sequence < com::sun::star::embed::VerbDescriptor > aVerbList; ::sfx2::sidebar::ContextChangeBroadcaster maContextChangeBroadcaster; - SfxShell_Impl() : pExecuter( 0 ), pUpdater( 0 ) {} + SfxShell_Impl() : pViewSh(0), pFrame(0), pRepeatTarget(0), pExecuter(0), pUpdater(0) {} ~SfxShell_Impl() { delete pExecuter; delete pUpdater;} }; diff --git a/sfx2/source/sidebar/FocusManager.cxx b/sfx2/source/sidebar/FocusManager.cxx index f6798411fa0a..46ea99c5e873 100644 --- a/sfx2/source/sidebar/FocusManager.cxx +++ b/sfx2/source/sidebar/FocusManager.cxx @@ -45,7 +45,8 @@ FocusManager::FocusManager (const ::boost::function<void(const Panel&)>& rShowPa maButtons(), maShowPanelFunctor(rShowPanelFunctor), mbObservingContentControlFocus(false), - mpFirstFocusedContentControl(NULL) + mpFirstFocusedContentControl(NULL), + mpLastFocusedWindow(NULL) { } diff --git a/sfx2/source/view/impviewframe.hxx b/sfx2/source/view/impviewframe.hxx index f6b431e7e816..c3acee2b1b37 100644 --- a/sfx2/source/view/impviewframe.hxx +++ b/sfx2/source/view/impviewframe.hxx @@ -58,6 +58,8 @@ struct SfxViewFrame_Impl : rFrame( i_rFrame ) , pReloader(0 ) , pWindow( 0 ) + , pActiveChild(0) + , pFocusWin(0) , bWindowWasEnabled(sal_True) , bActive( sal_False ) { |