[Libreoffice-commits] core.git: 25 commits - chart2/source embeddedobj/source framework/source include/filter include/sfx2 include/svx include/vcl sc/source sd/source sfx2/source svx/source sw/inc sw/source tools/source vcl/source

Caolán McNamara caolanm at redhat.com
Wed Apr 16 03:23:44 PDT 2014


 chart2/source/view/main/3DChartObjects.cxx      |    7 ++++---
 embeddedobj/source/inc/commonembobj.hxx         |    2 --
 framework/source/uielement/menubarmanager.cxx   |    1 +
 include/filter/msfilter/escherex.hxx            |    7 +++----
 include/sfx2/mnumgr.hxx                         |    1 -
 include/svx/svdpntv.hxx                         |    1 -
 include/vcl/print.hxx                           |    2 --
 sc/source/ui/dbgui/PivotLayoutTreeListBase.cxx  |    7 ++++---
 sc/source/ui/dbgui/PivotLayoutTreeListLabel.cxx |    8 +++++---
 sd/source/core/CustomAnimationEffect.cxx        |   21 ++++++++++++---------
 sfx2/source/appl/workwin.cxx                    |    2 ++
 sfx2/source/dialog/titledockwin.cxx             |    1 +
 svx/source/dialog/svxbmpnumvalueset.cxx         |    1 +
 svx/source/svdraw/svdmodel.cxx                  |    3 +++
 svx/source/tbxctrls/colrctrl.cxx                |    4 ++--
 svx/source/toolbars/extrusionbar.cxx            |    2 +-
 sw/inc/dbmgr.hxx                                |    4 ++--
 sw/source/core/doc/number.cxx                   |    8 ++++----
 sw/source/core/uibase/app/docshini.cxx          |    9 ++++++---
 sw/source/core/uibase/dbui/dbmgr.cxx            |   16 +++++++++-------
 sw/source/filter/xml/xmlexp.cxx                 |    1 +
 tools/source/inet/inetmsg.cxx                   |    1 +
 vcl/source/filter/graphicfilter.cxx             |    7 ++++---
 23 files changed, 66 insertions(+), 50 deletions(-)

New commits:
commit 187a513742725c683555f251350604153c5f9fb4
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Apr 15 21:24:37 2014 +0100

    coverity#1202981 Non-virtual destructor
    
    Change-Id: Iabf91e6c8e450b72b83de51c6a1fb6986f88b430

diff --git a/include/filter/msfilter/escherex.hxx b/include/filter/msfilter/escherex.hxx
index dd2da0c..1b86971 100644
--- a/include/filter/msfilter/escherex.hxx
+++ b/include/filter/msfilter/escherex.hxx
@@ -1107,9 +1107,8 @@ public:
     void        SetBaseURI( const OUString& rBaseURI ) { maBaseURI = rBaseURI; };
     const OUString& GetBaseURI() { return maBaseURI; };
 
-                EscherGraphicProvider( sal_uInt32 nFlags = _E_GRAPH_PROV_DO_NOT_ROTATE_METAFILES );
-                ~EscherGraphicProvider();
-
+    EscherGraphicProvider( sal_uInt32 nFlags = _E_GRAPH_PROV_DO_NOT_ROTATE_METAFILES );
+    virtual ~EscherGraphicProvider();
 };
 
 struct EscherShapeListEntry;
@@ -1604,7 +1603,7 @@ public:
     /** Returns the graphic provider from the global object that has been
         passed to the constructor.
      */
-    inline EscherGraphicProvider& GetGraphicProvider() { return *mxGlobal; }
+    EscherGraphicProvider& GetGraphicProvider() { return *mxGlobal; }
 
     /** Called if a picture shall be written and no picture stream is set at
         class ImplEscherExSdr.
commit 46401db853bea6dbf0ef3495d0a4002eefd13087
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Apr 15 21:22:28 2014 +0100

    WaE: -Werror=maybe-uninitialized
    
    Change-Id: Ie0612c60dbb9c12afb98a5923c374cb76c17be1a

diff --git a/svx/source/toolbars/extrusionbar.cxx b/svx/source/toolbars/extrusionbar.cxx
index 2ad2b3b..5810e16 100644
--- a/svx/source/toolbars/extrusionbar.cxx
+++ b/svx/source/toolbars/extrusionbar.cxx
@@ -150,7 +150,7 @@ static void impl_execute( SdrView*, SfxRequest& rReq, SdrCustomShapeGeometryItem
 
         if( pAny )
         {
-            bool bOn;
+            bool bOn(false);
             (*pAny) >>= bOn;
             bOn = !bOn;
             (*pAny) <<= bOn;
commit 271c634e4fd2445dd61d6bccd75b926cbc71bc65
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Apr 15 21:19:19 2014 +0100

    coverity#1202968 Uninitialized scalar field
    
    Change-Id: Ic226202bb1ce429f9dd8e13183ec64ffc9059d05

diff --git a/sc/source/ui/dbgui/PivotLayoutTreeListLabel.cxx b/sc/source/ui/dbgui/PivotLayoutTreeListLabel.cxx
index 6617b0b..a094f2a 100644
--- a/sc/source/ui/dbgui/PivotLayoutTreeListLabel.cxx
+++ b/sc/source/ui/dbgui/PivotLayoutTreeListLabel.cxx
@@ -23,9 +23,11 @@ extern "C" SAL_DLLPUBLIC_EXPORT Window* SAL_CALL makeScPivotLayoutTreeListLabel(
     return new ScPivotLayoutTreeListLabel(pParent, WB_BORDER | WB_TABSTOP | WB_CLIPCHILDREN | WB_FORCE_MAKEVISIBLE);
 }
 
-ScPivotLayoutTreeListLabel::ScPivotLayoutTreeListLabel(Window* pParent, WinBits nBits) :
-    ScPivotLayoutTreeListBase(pParent, nBits, LABEL_LIST)
-{}
+ScPivotLayoutTreeListLabel::ScPivotLayoutTreeListLabel(Window* pParent, WinBits nBits)
+    : ScPivotLayoutTreeListBase(pParent, nBits, LABEL_LIST)
+    , maDataItem(0)
+{
+}
 
 ScPivotLayoutTreeListLabel::~ScPivotLayoutTreeListLabel()
 {}
commit 9a11fbb6593812ee25a88cc198c6ef0025436c78
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Apr 15 21:12:18 2014 +0100

    coverity#1202965 unused member
    
    Change-Id: Iadee347fea0dcdcd3382eaeaebfea71d55975f9c

diff --git a/embeddedobj/source/inc/commonembobj.hxx b/embeddedobj/source/inc/commonembobj.hxx
index 542a160..861450f 100644
--- a/embeddedobj/source/inc/commonembobj.hxx
+++ b/embeddedobj/source/inc/commonembobj.hxx
@@ -121,8 +121,6 @@ protected:
     sal_Bool        m_bEmbeddedScriptSupport;
     sal_Bool        m_bDocumentRecoverySupport;
 
-    Interceptor* m_pInterceptor;
-
     // following information will be used between SaveAs and SaveCompleted
     sal_Bool m_bWaitSaveCompleted;
     OUString m_aNewEntryName;
commit c28dccbf65d142594282a4498f93e9e9f8ccdf7c
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Apr 15 21:09:57 2014 +0100

    coverity#1202963 Uninitialized pointer field
    
    Change-Id: I1cb588ce7df30886354ac0cf2bd81fb95a7e9d37

diff --git a/sc/source/ui/dbgui/PivotLayoutTreeListBase.cxx b/sc/source/ui/dbgui/PivotLayoutTreeListBase.cxx
index 0ca94a7..3710e4c 100644
--- a/sc/source/ui/dbgui/PivotLayoutTreeListBase.cxx
+++ b/sc/source/ui/dbgui/PivotLayoutTreeListBase.cxx
@@ -18,9 +18,10 @@
 
 using namespace std;
 
-ScPivotLayoutTreeListBase::ScPivotLayoutTreeListBase(Window* pParent, WinBits nBits, SvPivotTreeListType eType) :
-    SvTreeListBox(pParent, nBits),
-    meType(eType)
+ScPivotLayoutTreeListBase::ScPivotLayoutTreeListBase(Window* pParent, WinBits nBits, SvPivotTreeListType eType)
+    : SvTreeListBox(pParent, nBits)
+    , meType(eType)
+    , mpParent(NULL)
 {
     SetHighlightRange();
     SetDragDropMode(SV_DRAGDROP_CTRL_MOVE | SV_DRAGDROP_APP_MOVE  | SV_DRAGDROP_APP_DROP);
commit 5e651d4084df7662b56ea980934c0428ba31b062
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Apr 15 21:08:13 2014 +0100

    coverity#1202948 Uninitialized pointer field
    
    Change-Id: I2764b1f9c3d50cf7ff7bd2c552a3dec93509b245

diff --git a/sfx2/source/appl/workwin.cxx b/sfx2/source/appl/workwin.cxx
index 7e097d8..e952a74 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 );
commit 05551e886cded21a0df67a89f5dd7cf7b9e4de35
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Apr 15 20:49:05 2014 +0100

    coverity#1202939 Uninitialized pointer field
    
    Change-Id: If5901fb36d6f0f5afbb12b92db7055d6481f7f23

diff --git a/vcl/source/filter/graphicfilter.cxx b/vcl/source/filter/graphicfilter.cxx
index 8d80854..e96a552 100644
--- a/vcl/source/filter/graphicfilter.cxx
+++ b/vcl/source/filter/graphicfilter.cxx
@@ -1078,9 +1078,10 @@ ImpFilterLibCacheEntry* ImpFilterLibCache::GetFilter( const OUString& rFilterPat
 
 namespace { struct Cache : public rtl::Static<ImpFilterLibCache, Cache> {}; }
 
-GraphicFilter::GraphicFilter( bool bConfig ) :
-    bUseConfig        ( bConfig ),
-    nExpGraphHint     ( 0 )
+GraphicFilter::GraphicFilter( bool bConfig )
+    : pErrorEx(NULL)
+    , bUseConfig(bConfig)
+    , nExpGraphHint(0)
 {
     ImplInit();
 }
commit 98ef587cb1515e8c495cf00a3b143201233b8e25
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Apr 15 20:46:09 2014 +0100

    coverity#1202967 Uninitialized pointer field
    
    Change-Id: I60fb3b74d7f4d430776f53c2f4b37c63a0e5166d

diff --git a/tools/source/inet/inetmsg.cxx b/tools/source/inet/inetmsg.cxx
index 2543403..d1571d9 100644
--- a/tools/source/inet/inetmsg.cxx
+++ b/tools/source/inet/inetmsg.cxx
@@ -678,6 +678,7 @@ INetMIMEMessage::INetMIMEMessage()
 
 INetMIMEMessage::INetMIMEMessage (const INetMIMEMessage& rMsg)
     : INetRFC822Message (rMsg)
+    , pParent(NULL)
 {
     CopyImp (rMsg);
 }
commit 4f3e5fdf3564ebbf2f5b8c425bbe2f64f64e01b7
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Apr 15 20:44:44 2014 +0100

    coverity#1202916 Uninitialized scalar field
    
    Change-Id: I15bcdffa92f866eac8c27324324ae0674bb24915

diff --git a/sw/source/filter/xml/xmlexp.cxx b/sw/source/filter/xml/xmlexp.cxx
index 57589d8..bc49caa 100644
--- a/sw/source/filter/xml/xmlexp.cxx
+++ b/sw/source/filter/xml/xmlexp.cxx
@@ -86,6 +86,7 @@ SwXMLExport::SwXMLExport(
     pTableLines( 0 ),
     bBlock( sal_False ),
     bShowProgress( sal_True ),
+    bSavedShowChanges( sal_False ),
     doc( NULL ),
     sNumberFormat("NumberFormat"),
     sIsProtected("IsProtected"),
commit 52b25807217d0948b553e60ae52c732be5abf7e5
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Apr 15 20:43:44 2014 +0100

    coverity#1202918 Uninitialized scalar field
    
    Change-Id: I4037b948b718122953c7127b1f00bd46e3e891d2

diff --git a/sw/inc/dbmgr.hxx b/sw/inc/dbmgr.hxx
index 3c1588c..a3ee375 100644
--- a/sw/inc/dbmgr.hxx
+++ b/sw/inc/dbmgr.hxx
@@ -234,8 +234,8 @@ public:
     inline void     SetInitDBFields(sal_Bool b) { bInitDBFields = b;    }
 
     /// Print / Save mail merge one by one or all together.
-    inline sal_Bool     IsSingleJobs() const    { return bSingleJobs;   }
-    inline void     SetSingleJobs(sal_Bool b)   { bSingleJobs = b;  }
+    sal_Bool     IsSingleJobs() const    { return bSingleJobs;   }
+    void     SetSingleJobs(sal_Bool b)   { bSingleJobs = b;  }
 
     /// Mailing: Set email data.
     inline void     SetEMailColumn(const OUString& sColName) { sEMailAddrFld = sColName; }
diff --git a/sw/source/core/uibase/dbui/dbmgr.cxx b/sw/source/core/uibase/dbui/dbmgr.cxx
index 89304ad..f0c368f 100644
--- a/sw/source/core/uibase/dbui/dbmgr.cxx
+++ b/sw/source/core/uibase/dbui/dbmgr.cxx
@@ -703,13 +703,15 @@ sal_Bool SwNewDBMgr::GetColumnNames(ListBox* pListBox,
 /*--------------------------------------------------------------------
     Description: CTOR
  --------------------------------------------------------------------*/
-SwNewDBMgr::SwNewDBMgr() :
-            bInitDBFields(sal_False),
-            bInMerge(sal_False),
-            bMergeSilent(sal_False),
-            bMergeLock(sal_False),
-            pImpl(new SwNewDBMgr_Impl(*this)),
-            pMergeEvtSrc(NULL)
+SwNewDBMgr::SwNewDBMgr()
+    : bCancel(false)
+    , bInitDBFields(false)
+    , bSingleJobs(false)
+    , bInMerge(false)
+    , bMergeSilent(false)
+    , bMergeLock(false)
+    , pImpl(new SwNewDBMgr_Impl(*this))
+    , pMergeEvtSrc(NULL)
 {
 }
 
commit 2436eb539c5e3a4c53734d674192e1c4cd3defb9
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Apr 15 20:41:24 2014 +0100

    coverity#1202919 Uninitialized scalar field
    
    Change-Id: Ie316a5c03953f244baf69fc66d372ff4a032f34a

diff --git a/sw/source/core/uibase/app/docshini.cxx b/sw/source/core/uibase/app/docshini.cxx
index b9bf850..8ea9c1e 100644
--- a/sw/source/core/uibase/app/docshini.cxx
+++ b/sw/source/core/uibase/app/docshini.cxx
@@ -320,7 +320,8 @@ SwDocShell::SwDocShell( SfxObjectCreateMode eMode ) :
     pWrtShell( 0 ),
     pOLEChildList( 0 ),
     nUpdateDocMode(document::UpdateDocMode::ACCORDING_TO_CONFIG),
-    bInUpdateFontList(false)
+    bInUpdateFontList(false),
+    bIsATemplate(false)
 {
     Init_Impl();
 }
commit 3138b69c77fbee37af7d874a2bb03539d9229d69
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Apr 15 20:40:44 2014 +0100

    coverity#1202920 Uninitialized scalar field
    
    Change-Id: I054c0ceea35c469cff7d85e892037a3ff2c43a7b

diff --git a/sw/source/core/uibase/app/docshini.cxx b/sw/source/core/uibase/app/docshini.cxx
index 7da150f..b9bf850 100644
--- a/sw/source/core/uibase/app/docshini.cxx
+++ b/sw/source/core/uibase/app/docshini.cxx
@@ -349,7 +349,8 @@ SwDocShell::SwDocShell( SwDoc *pD, SfxObjectCreateMode eMode ):
     pWrtShell( 0 ),
     pOLEChildList( 0 ),
     nUpdateDocMode(document::UpdateDocMode::ACCORDING_TO_CONFIG),
-    bInUpdateFontList(false)
+    bInUpdateFontList(false),
+    bIsATemplate(false)
 {
     Init_Impl();
 }
commit 2c964860c1393814e045996a0e0fc139e5d7ca30
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Apr 15 20:38:20 2014 +0100

    coverity#1202938 unused class members
    
    Change-Id: Ie693dbde6d239d6330564ea03559f2476e09b3ed

diff --git a/include/vcl/print.hxx b/include/vcl/print.hxx
index 865767d..6309f12 100644
--- a/include/vcl/print.hxx
+++ b/include/vcl/print.hxx
@@ -243,8 +243,6 @@ private:
     bool                        mbInPrintPage;
     bool                        mbNewJobSetup;
     bool                        mbIsQueuePrinter;
-    bool                        mbUserSetupCompleted;
-    bool                        mbUserSetupResult;
     Link                        maErrorHdl;
 
     bool                        ImplInitGraphics() const SAL_OVERRIDE;
commit 15fe79b55de4c6e845232f0f41f16530ab373ec9
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Apr 15 20:36:54 2014 +0100

    coverity#1202940 Uninitialized scalar field
    
    Change-Id: I30561fdb3a4453ae1d482a464be9146d54b0622c

diff --git a/svx/source/tbxctrls/colrctrl.cxx b/svx/source/tbxctrls/colrctrl.cxx
index 8fcfb94..28809d4 100644
--- a/svx/source/tbxctrls/colrctrl.cxx
+++ b/svx/source/tbxctrls/colrctrl.cxx
@@ -233,8 +233,8 @@ SvxColorDockingWindow::SvxColorDockingWindow
     nLeftSlot       ( SID_ATTR_FILL_COLOR ),
     nRightSlot      ( SID_ATTR_LINE_COLOR ),
     nCols           ( 20 ),
-    nLines          ( 1 )
-
+    nLines          ( 1 ),
+    nCount          ( 0 )
 {
     FreeResource();
 
commit de7499b4b6703d7e42b01059717a0d4ca92c4229
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Apr 15 20:35:20 2014 +0100

    coverity#1202941 Uninitialized scalar field
    
    Change-Id: Iefb8e754d60c66a54d67ccb66e47f04e2b37912b

diff --git a/include/svx/svdpntv.hxx b/include/svx/svdpntv.hxx
index 95a7738..0c5dbcd 100644
--- a/include/svx/svdpntv.hxx
+++ b/include/svx/svdpntv.hxx
@@ -161,7 +161,6 @@ protected:
     sal_uInt16                      nMinMovPix;
     sal_uInt16                      nHitTolLog;
     sal_uInt16                      nMinMovLog;
-    sal_uIntPtr                     nMasterCacheMode;
     sal_uIntPtr                       nGraphicManagerDrawMode;
 
     // hold an incarnation of Drawinglayer configuration options
commit 804597191bc70be080be59f093e96b2cda37e6a9
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Apr 15 20:33:52 2014 +0100

    coverity#1202944 Uninitialized scalar field
    
    Change-Id: Ibc9bdc30faae1cc72a39db3e8130dfaadf937e26

diff --git a/svx/source/svdraw/svdmodel.cxx b/svx/source/svdraw/svdmodel.cxx
index 29c13a3..3e854af 100644
--- a/svx/source/svdraw/svdmodel.cxx
+++ b/svx/source/svdraw/svdmodel.cxx
@@ -130,6 +130,7 @@ void SdrModel::ImpCtor(SfxItemPool* pPool, ::comphelper::IEmbeddedHelper* _pEmbe
     pUndoStack=NULL;
     pRedoStack=NULL;
     nMaxUndoCount=16;
+    mnUniqueCommentID=0;
     pAktUndoGroup=NULL;
     nUndoLevel=0;
     mbUndoEnabled=true;
@@ -163,6 +164,8 @@ void SdrModel::ImpCtor(SfxItemPool* pPool, ::comphelper::IEmbeddedHelper* _pEmbe
     mbKernAsianPunctuation = false;
     mbAddExtLeading = false;
     mnHandoutPageCount = 0;
+    nReserveUInt6 = 0;
+    nReserveUInt7 = 0;
 
     mbDisableTextEditUsesCommonUndoManager = false;
 
commit cd385f2480b3fbcdffde8d111961f154137294e1
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Apr 15 20:31:56 2014 +0100

    coverity#1202945 Uninitialized scalar field
    
    Change-Id: I282620ab4efc6da7eaed909c9c95910c63186970

diff --git a/chart2/source/view/main/3DChartObjects.cxx b/chart2/source/view/main/3DChartObjects.cxx
index 22eadae..3600f0a 100644
--- a/chart2/source/view/main/3DChartObjects.cxx
+++ b/chart2/source/view/main/3DChartObjects.cxx
@@ -23,9 +23,10 @@ void Renderable3DObject::render()
     (void) mnUniqueId;
 }
 
-Bar::Bar(const glm::mat4& rPosition, sal_uInt32 nId):
-    Renderable3DObject(nId),
-    maPos(rPosition)
+Bar::Bar(const glm::mat4& rPosition, sal_uInt32 nId)
+    : Renderable3DObject(nId)
+    , mbRoundedCorners(false)
+    , maPos(rPosition)
 {
 }
 
commit 2535541f5fbfd42c677b0a5cfb15c91f262c6586
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Apr 15 20:30:46 2014 +0100

    coverity#1202946 unused member
    
    Change-Id: I9faa1a2a281ff41931bfe16cb3727cfb07957ad1

diff --git a/include/sfx2/mnumgr.hxx b/include/sfx2/mnumgr.hxx
index 1b6a630..88dd9e2 100644
--- a/include/sfx2/mnumgr.hxx
+++ b/include/sfx2/mnumgr.hxx
@@ -48,7 +48,6 @@ friend class SfxPopupMenuManager;
 
     SfxVirtualMenu*         pMenu;     // the actual Menu
     SfxVirtualMenu*         pOldMenu;       // only while reconfiguring
-    bool                    bMenuBar;  // Popup or MenuBar
     SfxBindings*            pBindings;
     ResMgr*                 pResMgr;
     sal_uInt32              nType;
commit 4a277e39dbb6fdb0e93a956ca3ef9b861e347915
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Apr 15 20:29:13 2014 +0100

    coverity#1202947 Uninitialized scalar field
    
    Change-Id: Ieee8f9eba25f17ba789d3be5a006e056108c386b

diff --git a/sfx2/source/dialog/titledockwin.cxx b/sfx2/source/dialog/titledockwin.cxx
index 2a9a7a3..8fd8ea8 100644
--- a/sfx2/source/dialog/titledockwin.cxx
+++ b/sfx2/source/dialog/titledockwin.cxx
@@ -58,6 +58,7 @@ namespace sfx2
         ,m_aContentWindow( this )
         ,m_aBorder( 3, 1, 3, 3 )
         ,m_bLayoutPending( false )
+        ,m_nTitleBarHeight(0)
     {
         impl_construct();
     }
commit c7f2c9c301e55bfad38e4a0352c6bf54faae6bb8
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Apr 15 20:27:30 2014 +0100

    coverity#1202950 Uninitialized scalar field
    
    Change-Id: I3f3ef0f017d35bb16ecdb7638d23e6b447f7262b

diff --git a/framework/source/uielement/menubarmanager.cxx b/framework/source/uielement/menubarmanager.cxx
index 4a05243..7698515 100644
--- a/framework/source/uielement/menubarmanager.cxx
+++ b/framework/source/uielement/menubarmanager.cxx
@@ -1927,6 +1927,7 @@ void MenuBarManager::Init(const Reference< XFrame >& rFrame,AddonMenu* pAddonMen
     m_xFrame            = rFrame;
     m_bInitialized      = false;
     m_bIsBookmarkMenu   = true;
+    m_bShowMenuImages   = true;
 
     OUString aModuleIdentifier;
     m_xPopupMenuControllerFactory = frame::thePopupMenuControllerFactory::get(
commit 07b9e2fade19600aeb1021818aeb9fbd6387abdd
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Apr 15 20:25:29 2014 +0100

    coverity#1202951 Uninitialized scalar field
    
    Change-Id: I309ea6c881ffb6902750ed3cb4fba1c4bc8e6975

diff --git a/sd/source/core/CustomAnimationEffect.cxx b/sd/source/core/CustomAnimationEffect.cxx
index 503bdfd..801eed4 100644
--- a/sd/source/core/CustomAnimationEffect.cxx
+++ b/sd/source/core/CustomAnimationEffect.cxx
@@ -3011,11 +3011,12 @@ MainSequence::MainSequence()
 }
 
 MainSequence::MainSequence( const ::com::sun::star::uno::Reference< ::com::sun::star::animations::XAnimationNode >& xNode )
-: mxTimingRootNode( xNode, UNO_QUERY )
-, mbRebuilding( false )
-, mnRebuildLockGuard( 0 )
-, mbPendingRebuildRequest( false )
-, mbIgnoreChanges( 0 )
+    : mxTimingRootNode( xNode, UNO_QUERY )
+    , mbTimerMode( false )
+    , mbRebuilding( false )
+    , mnRebuildLockGuard( 0 )
+    , mbPendingRebuildRequest( false )
+    , mbIgnoreChanges( 0 )
 {
     init();
 }
commit 1bfa21f864004f32bcaf293c6210996453c524a7
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Apr 15 20:24:45 2014 +0100

    coverity#1202952 Uninitialized scalar field
    
    Change-Id: I83d861fa03afa6e6b6adcd5ca340c28ef8c6cfdf

diff --git a/sd/source/core/CustomAnimationEffect.cxx b/sd/source/core/CustomAnimationEffect.cxx
index 95b9534..503bdfd 100644
--- a/sd/source/core/CustomAnimationEffect.cxx
+++ b/sd/source/core/CustomAnimationEffect.cxx
@@ -2993,10 +2993,12 @@ void SAL_CALL AnimationChangeListener::disposing( const ::com::sun::star::lang::
 }
 
 MainSequence::MainSequence()
-: mxTimingRootNode( SequenceTimeContainer::create( ::comphelper::getProcessComponentContext() ) )
-, mbRebuilding( false )
-, mnRebuildLockGuard( 0 )
-, mbPendingRebuildRequest( false )
+    : mxTimingRootNode(SequenceTimeContainer::create(::comphelper::getProcessComponentContext()))
+    , mbTimerMode(false)
+    , mbRebuilding( false )
+    , mnRebuildLockGuard( 0 )
+    , mbPendingRebuildRequest( false )
+    , mbIgnoreChanges( 0 )
 {
     if( mxTimingRootNode.is() )
     {
commit aebeb43d0ea3920e49119fc406fdd61d851b6208
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Apr 15 20:21:54 2014 +0100

    coverity#1202970 Uninitialized scalar field
    
    Change-Id: I79c1cb576973e517893d69503613023c791faf35

diff --git a/sw/source/core/doc/number.cxx b/sw/source/core/doc/number.cxx
index 8a2b4be..2397942 100644
--- a/sw/source/core/doc/number.cxx
+++ b/sw/source/core/doc/number.cxx
@@ -190,9 +190,10 @@ SwNumFmt::SwNumFmt( const SwNumFmt& rFmt) :
                                                 &eMyVertOrient);
 }
 
-SwNumFmt::SwNumFmt(const SvxNumberFormat& rNumFmt, SwDoc* pDoc) :
-    SvxNumberFormat(rNumFmt),
-    pVertOrient(new SwFmtVertOrient( 0, rNumFmt.GetVertOrient()))
+SwNumFmt::SwNumFmt(const SvxNumberFormat& rNumFmt, SwDoc* pDoc)
+    : SvxNumberFormat(rNumFmt)
+    , pVertOrient(new SwFmtVertOrient( 0, rNumFmt.GetVertOrient()))
+    , cGrfBulletCP(USHRT_MAX)
 {
     sal_Int16 eMyVertOrient = rNumFmt.GetVertOrient();
     SetGraphicBrush( rNumFmt.GetBrush(), &rNumFmt.GetGraphicSize(),
@@ -213,7 +214,6 @@ SwNumFmt::SwNumFmt(const SvxNumberFormat& rNumFmt, SwDoc* pDoc) :
     }
     else if( GetRegisteredIn() )
         GetRegisteredInNonConst()->Remove( this );
-
 }
 
 SwNumFmt::~SwNumFmt()
commit 73bae2f2c38dd07d48b03eb5713a3f14ba1dbbb2
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Apr 15 20:20:24 2014 +0100

    coverity#1202972 Uninitialized scalar field
    
    Change-Id: Ia30cda04b43dad52079c9b9972af0cd0477eb44b

diff --git a/sw/source/core/uibase/app/docshini.cxx b/sw/source/core/uibase/app/docshini.cxx
index e6c3052..7da150f 100644
--- a/sw/source/core/uibase/app/docshini.cxx
+++ b/sw/source/core/uibase/app/docshini.cxx
@@ -334,7 +334,8 @@ SwDocShell::SwDocShell( const sal_uInt64 i_nSfxCreationFlags ) :
     pWrtShell( 0 ),
     pOLEChildList( 0 ),
     nUpdateDocMode(document::UpdateDocMode::ACCORDING_TO_CONFIG),
-    bInUpdateFontList(false)
+    bInUpdateFontList(false),
+    bIsATemplate(false)
 {
     Init_Impl();
 }
commit dbbb805bf05d2371ea9dbd5f39fbeb67ecefd8b8
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Apr 15 20:17:46 2014 +0100

    coverity#1202908 Uninitialized scalar variable
    
    Change-Id: If9801de8469126f0e1c255f9526d1bcf76e7f372

diff --git a/svx/source/dialog/svxbmpnumvalueset.cxx b/svx/source/dialog/svxbmpnumvalueset.cxx
index 4a542e2..75cd2c6 100644
--- a/svx/source/dialog/svxbmpnumvalueset.cxx
+++ b/svx/source/dialog/svxbmpnumvalueset.cxx
@@ -285,6 +285,7 @@ void  SvxNumValueSet::UserDraw( const UserDrawEvent& rUDEvt )
                     aLevelAny >>= aLevel;
                     const PropertyValue* pValues = aLevel.getConstArray();
                     aNumberingTypes[i] = 0;
+                    aParentNumberings[i] = 0;
                     for(sal_Int32 nProperty = 0; nProperty < aLevel.getLength() - 1; nProperty++)
                     {
                         if ( pValues[nProperty].Name == cNumberingType )


More information about the Libreoffice-commits mailing list