Kaydet (Commit) f1967d9b authored tarafından Julien Nabet's avatar Julien Nabet

cppcheck: fix the rest uninitMemberVar reports in sfx2

Change-Id: Id573ebbb5aee7662a585b73ecb4432158c472d46
üst 2552bd3f
...@@ -43,6 +43,7 @@ extern void AppendConfigToken_Impl( String& rURL, sal_Bool bQuestionMark ); // s ...@@ -43,6 +43,7 @@ extern void AppendConfigToken_Impl( String& rURL, sal_Bool bQuestionMark ); // s
HelpInterceptor_Impl::HelpInterceptor_Impl() : HelpInterceptor_Impl::HelpInterceptor_Impl() :
m_pHistory ( NULL ), m_pHistory ( NULL ),
m_pWindow ( NULL ),
m_nCurPos ( 0 ) m_nCurPos ( 0 )
{ {
......
...@@ -103,7 +103,7 @@ void SfxProgress_Impl::Enable_Impl( sal_Bool bEnable ) ...@@ -103,7 +103,7 @@ void SfxProgress_Impl::Enable_Impl( sal_Bool bEnable )
// ----------------------------------------------------------------------- // -----------------------------------------------------------------------
SfxProgress_Impl::SfxProgress_Impl( const String &/*rTitle*/ ) SfxProgress_Impl::SfxProgress_Impl( const String &/*rTitle*/ )
: pActiveProgress( 0 ) : pActiveProgress(0), pWorkWin(0), pView(0)
{ {
} }
......
...@@ -87,7 +87,7 @@ struct SfxShell_Impl: public SfxBroadcaster ...@@ -87,7 +87,7 @@ struct SfxShell_Impl: public SfxBroadcaster
com::sun::star::uno::Sequence < com::sun::star::embed::VerbDescriptor > aVerbList; com::sun::star::uno::Sequence < com::sun::star::embed::VerbDescriptor > aVerbList;
::sfx2::sidebar::ContextChangeBroadcaster maContextChangeBroadcaster; ::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;} ~SfxShell_Impl() { delete pExecuter; delete pUpdater;}
}; };
......
...@@ -45,7 +45,8 @@ FocusManager::FocusManager (const ::boost::function<void(const Panel&)>& rShowPa ...@@ -45,7 +45,8 @@ FocusManager::FocusManager (const ::boost::function<void(const Panel&)>& rShowPa
maButtons(), maButtons(),
maShowPanelFunctor(rShowPanelFunctor), maShowPanelFunctor(rShowPanelFunctor),
mbObservingContentControlFocus(false), mbObservingContentControlFocus(false),
mpFirstFocusedContentControl(NULL) mpFirstFocusedContentControl(NULL),
mpLastFocusedWindow(NULL)
{ {
} }
......
...@@ -58,6 +58,8 @@ struct SfxViewFrame_Impl ...@@ -58,6 +58,8 @@ struct SfxViewFrame_Impl
: rFrame( i_rFrame ) : rFrame( i_rFrame )
, pReloader(0 ) , pReloader(0 )
, pWindow( 0 ) , pWindow( 0 )
, pActiveChild(0)
, pFocusWin(0)
, bWindowWasEnabled(sal_True) , bWindowWasEnabled(sal_True)
, bActive( sal_False ) , bActive( sal_False )
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment