[Libreoffice-commits] core.git: 2 commits - helpcontent2 sfx2/source svl/source

Julien Nabet serval2412 at yahoo.fr
Sun Jun 16 02:58:46 PDT 2013


 helpcontent2                         |    2 +-
 sfx2/source/appl/helpinterceptor.cxx |    1 +
 sfx2/source/bastyp/progress.cxx      |    2 +-
 sfx2/source/control/shell.cxx        |    2 +-
 sfx2/source/sidebar/FocusManager.cxx |    3 ++-
 sfx2/source/view/impviewframe.hxx    |    2 ++
 svl/source/numbers/zforfind.cxx      |    1 +
 svl/source/numbers/zforscan.cxx      |    1 +
 8 files changed, 10 insertions(+), 4 deletions(-)

New commits:
commit f1967d9bd4a0cb1558b495b564202a9bde2ab323
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sun Jun 16 11:58:09 2013 +0200

    cppcheck: fix the rest uninitMemberVar reports in sfx2
    
    Change-Id: Id573ebbb5aee7662a585b73ecb4432158c472d46

diff --git a/sfx2/source/appl/helpinterceptor.cxx b/sfx2/source/appl/helpinterceptor.cxx
index 3be6436..2c70239 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 9a49a1a..5650580 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 bbbe3f5..810e0ed 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 f679841..46ea99c 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 f6b431e..c3acee2 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 )
                         {
commit 2552bd3fa57521343dd437cdfca276c8cd35d131
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sun Jun 16 11:44:51 2013 +0200

    cppcheck: fix some uninitMemberVar (svl)
    
    Change-Id: I0874300f5a4941ee0b8dbd1dac0c6495aa9edc25

diff --git a/helpcontent2 b/helpcontent2
index aac86ab..da1f6d1 160000
--- a/helpcontent2
+++ b/helpcontent2
@@ -1 +1 @@
-Subproject commit aac86abaa8bf30756159131de9f951141ba5181f
+Subproject commit da1f6d1195f1bd42bd4abbea49416bede5f6b069
diff --git a/svl/source/numbers/zforfind.cxx b/svl/source/numbers/zforfind.cxx
index bd68ab4..5d3d6d9 100644
--- a/svl/source/numbers/zforfind.cxx
+++ b/svl/source/numbers/zforfind.cxx
@@ -81,6 +81,7 @@ ImpSvNumberInputScan::ImpSvNumberInputScan( SvNumberFormatter* pFormatterP )
         bTextInitialized( false ),
         bScanGenitiveMonths( false ),
         bScanPartitiveMonths( false ),
+        IsNum( false ),
         eScannedType( NUMBERFORMAT_UNDEFINED ),
         eSetType( NUMBERFORMAT_UNDEFINED )
 {
diff --git a/svl/source/numbers/zforscan.cxx b/svl/source/numbers/zforscan.cxx
index 43a354f..87d518b 100644
--- a/svl/source/numbers/zforscan.cxx
+++ b/svl/source/numbers/zforscan.cxx
@@ -70,6 +70,7 @@ ImpSvNumberformatScan::ImpSvNumberformatScan( SvNumberFormatter* pFormatterP )
 {
     pFormatter = pFormatterP;
     bConvertMode = false;
+    bConvertSystemToSystem = false;
     //! All keywords MUST be UPPERCASE!
     sKeyword[NF_KEY_E] =     "E";        // Exponent
     sKeyword[NF_KEY_AMPM] =  "AM/PM";    // AM/PM


More information about the Libreoffice-commits mailing list