cppcheck: fix the rest uninitMemberVar reports in sfx2

Change-Id: Id573ebbb5aee7662a585b73ecb4432158c472d46
This commit is contained in:
Julien Nabet 2013-06-16 11:58:09 +02:00
parent 2552bd3fa5
commit f1967d9bd4
5 changed files with 7 additions and 3 deletions

View File

@ -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 )
{

View File

@ -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)
{
}

View File

@ -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;}
};

View File

@ -45,7 +45,8 @@ FocusManager::FocusManager (const ::boost::function<void(const Panel&)>& rShowPa
maButtons(),
maShowPanelFunctor(rShowPanelFunctor),
mbObservingContentControlFocus(false),
mpFirstFocusedContentControl(NULL)
mpFirstFocusedContentControl(NULL),
mpLastFocusedWindow(NULL)
{
}

View File

@ -58,6 +58,8 @@ struct SfxViewFrame_Impl
: rFrame( i_rFrame )
, pReloader(0 )
, pWindow( 0 )
, pActiveChild(0)
, pFocusWin(0)
, bWindowWasEnabled(sal_True)
, bActive( sal_False )
{