[Libreoffice-commits] core.git: 9 commits - lotuswordpro/source

Norbert Thiebaud nthiebaud at gmail.com
Wed Feb 19 00:41:37 CET 2014


 lotuswordpro/source/filter/lwplaypiece.cxx   |    4 ++++
 lotuswordpro/source/filter/lwpmarker.cxx     |   17 ++++++++++++++---
 lotuswordpro/source/filter/lwpnotes.cxx      |    2 +-
 lotuswordpro/source/filter/lwpnumericfmt.cxx |    5 +++--
 lotuswordpro/source/filter/lwpoleobject.cxx  |    4 +++-
 5 files changed, 25 insertions(+), 7 deletions(-)

New commits:
commit a7901132237f8bbd3ce42f0deda3fb7922230722
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date:   Tue Feb 18 17:12:51 2014 -0600

    coverity#738736 Uninitialized scalar field
    
    Change-Id: I389ae4a01dc9ee2005488b0127f2ebfc76f564f9

diff --git a/lotuswordpro/source/filter/lwpoleobject.cxx b/lotuswordpro/source/filter/lwpoleobject.cxx
index 842e199..5251a4a 100644
--- a/lotuswordpro/source/filter/lwpoleobject.cxx
+++ b/lotuswordpro/source/filter/lwpoleobject.cxx
@@ -198,7 +198,9 @@ void LwpGraphicOleObject::GetGrafScaledSize(double & fWidth, double & fHeight)
  * @date:    2/22/2005
  */
 LwpOleObject::LwpOleObject(LwpObjectHeader &objHdr, LwpSvStream* pStrm)
-    : LwpGraphicOleObject(objHdr, pStrm),m_SizeRect(0,0,5,5)
+    : LwpGraphicOleObject(objHdr, pStrm)
+    , cPersistentFlags(0)
+    , m_SizeRect(0,0,5,5)
 {
 }
 /**
commit 7fe5a66e4dca57c152ab500ef2dc46fe4d6d619b
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date:   Tue Feb 18 17:06:42 2014 -0600

    coverity#738735 Uninitialized scalar field
    
    Change-Id: I639c30b26302784a5130e063bd0f691d3cb9e0b6

diff --git a/lotuswordpro/source/filter/lwpnumericfmt.cxx b/lotuswordpro/source/filter/lwpnumericfmt.cxx
index 3c3992d..2a956de 100644
--- a/lotuswordpro/source/filter/lwpnumericfmt.cxx
+++ b/lotuswordpro/source/filter/lwpnumericfmt.cxx
@@ -177,11 +177,12 @@ LwpNumericFormatSubset::~LwpNumericFormatSubset()
 
 ///////////////////////////////////////////////////////////////////////////////////
 LwpNumericFormat::LwpNumericFormat(LwpObjectStream * pStrm)
-    : cFormat(FMT_DEFAULT)
+    : m_pObjStrm(pStrm)
+    , cFlags(0)
+    , cFormat(FMT_DEFAULT)
     , cDecimalPlaces(0)
 {
     assert(pStrm);
-    m_pObjStrm = pStrm;
 }
 /**
 *   Read number format from wordpro file
commit 549dfab272e766076124ef912ff36e43fd5941c4
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date:   Tue Feb 18 16:59:13 2014 -0600

    coverity#738734 Uninitialized scalar field
    
    Change-Id: I78c489596fc8a51fa8d9b6c5bad545558830f474

diff --git a/lotuswordpro/source/filter/lwpnotes.cxx b/lotuswordpro/source/filter/lwpnotes.cxx
index dc5c661..c6028cf 100644
--- a/lotuswordpro/source/filter/lwpnotes.cxx
+++ b/lotuswordpro/source/filter/lwpnotes.cxx
@@ -132,8 +132,8 @@ void LwpFribNote::XFConvert(XFContentContainer* pCont)
 
 LwpNoteLayout::LwpNoteLayout(LwpObjectHeader &objHdr, LwpSvStream* pStrm)
     : LwpFrameLayout(objHdr, pStrm)
+    , m_nTime(0)
 {
-
 }
 
 LwpNoteLayout::~LwpNoteLayout()
commit f32015ccf6cca20f994c460223d4fa64768094e7
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date:   Tue Feb 18 16:55:37 2014 -0600

    coverity#738733 Uninitialized scalar field
    
    Change-Id: I45b38f9568a20d4717474b98392bdd07fedf8f4a

diff --git a/lotuswordpro/source/filter/lwpmarker.cxx b/lotuswordpro/source/filter/lwpmarker.cxx
index 3f1fa17..fd01102 100644
--- a/lotuswordpro/source/filter/lwpmarker.cxx
+++ b/lotuswordpro/source/filter/lwpmarker.cxx
@@ -70,7 +70,11 @@
 #include "xfilter/xfplaceholder.hxx"
 #include "xfilter/xfinputlist.hxx"
 
-LwpMarker::LwpMarker(LwpObjectHeader &objHdr, LwpSvStream *pStrm):LwpDLNFPVList(objHdr,pStrm)
+LwpMarker::LwpMarker(LwpObjectHeader &objHdr, LwpSvStream *pStrm)
+    : LwpDLNFPVList(objHdr,pStrm)
+    , m_nFlag(0)
+    , m_nPageNumber(0)
+    , m_nNeedUpdate(0)
 {
 }
 
commit 6c5632257b589407a73c8ddcedf0ed8ba890e873
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date:   Tue Feb 18 16:53:58 2014 -0600

    coverity#738732 Uninitialized scalar field
    
    Change-Id: I3920d694fc667b2d0fc5c07d53d606a42002ce16

diff --git a/lotuswordpro/source/filter/lwpmarker.cxx b/lotuswordpro/source/filter/lwpmarker.cxx
index 8382cd5..3f1fa17 100644
--- a/lotuswordpro/source/filter/lwpmarker.cxx
+++ b/lotuswordpro/source/filter/lwpmarker.cxx
@@ -96,7 +96,9 @@ OUString LwpMarker::GetNamedProperty(OUString name)
         return OUString(A2OUSTR(""));
 }
 
-LwpStoryMarker::LwpStoryMarker(LwpObjectHeader &objHdr, LwpSvStream *pStrm):LwpMarker(objHdr,pStrm)
+LwpStoryMarker::LwpStoryMarker(LwpObjectHeader &objHdr, LwpSvStream *pStrm)
+    : LwpMarker(objHdr,pStrm)
+    , m_nFlag(0)
 {
 }
 
commit 66f51851754295b2bb858ce0059844a27337f328
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date:   Tue Feb 18 16:52:40 2014 -0600

    coverity#738731 Uninitialized scalar field
    
    Change-Id: I7d93953403b89236a713e7df786252cc7a42e931

diff --git a/lotuswordpro/source/filter/lwpmarker.cxx b/lotuswordpro/source/filter/lwpmarker.cxx
index 378206c..8382cd5 100644
--- a/lotuswordpro/source/filter/lwpmarker.cxx
+++ b/lotuswordpro/source/filter/lwpmarker.cxx
@@ -114,7 +114,11 @@ void LwpFribRange::Read(LwpObjectStream* pObjStrm)
     m_EndPara.ReadIndexed(pObjStrm);
 }
 
-LwpCHBlkMarker::LwpCHBlkMarker(LwpObjectHeader &objHdr, LwpSvStream *pStrm):LwpStoryMarker(objHdr,pStrm)
+LwpCHBlkMarker::LwpCHBlkMarker(LwpObjectHeader &objHdr, LwpSvStream *pStrm)
+    : LwpStoryMarker(objHdr, pStrm)
+    , m_nTab(0)
+    , m_nFlag(0)
+    , m_nAction(0)
 {
 }
 
commit 0e7f4d044425d8740678723c30410c5019ddae14
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date:   Tue Feb 18 16:21:46 2014 -0600

    coverity#738730 Uninitialized scalar field
    
    Change-Id: I701eb9ba462b5a49bf49ba6a5319b633e5b771f3

diff --git a/lotuswordpro/source/filter/lwpmarker.cxx b/lotuswordpro/source/filter/lwpmarker.cxx
index f3da43a..378206c 100644
--- a/lotuswordpro/source/filter/lwpmarker.cxx
+++ b/lotuswordpro/source/filter/lwpmarker.cxx
@@ -315,6 +315,7 @@ void LwpCHBlkMarker::EnumAllKeywords()
 
 LwpBookMark::LwpBookMark(LwpObjectHeader &objHdr, LwpSvStream *pStrm)
     : LwpDLNFVList(objHdr,pStrm)
+    , m_nFlag(0)
 {
 }
 
commit 9708af4e23f742803d30db3b6388f0f41627f61b
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date:   Tue Feb 18 16:18:43 2014 -0600

    coverity#738729 Uninitialized scalar field
    
    Change-Id: I2490d47ecc184e5a75693bbb53c86d4a2ad849d6

diff --git a/lotuswordpro/source/filter/lwplaypiece.cxx b/lotuswordpro/source/filter/lwplaypiece.cxx
index 50e036f..2445c9c 100644
--- a/lotuswordpro/source/filter/lwplaypiece.cxx
+++ b/lotuswordpro/source/filter/lwplaypiece.cxx
@@ -62,6 +62,7 @@
 
 #include "lwpfilehdr.hxx"
 LwpRotor::LwpRotor()
+    : m_nRotation(0)
 {}
 
 LwpRotor::~LwpRotor()
commit 1635381baeb92754ba217ade4c2997040794c3f2
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date:   Tue Feb 18 16:17:02 2014 -0600

    coverity#738728 Uninitialized scalar field
    
    Change-Id: Iba30fd20ef4ca34b5c015522d7e870cf3b4982e4

diff --git a/lotuswordpro/source/filter/lwplaypiece.cxx b/lotuswordpro/source/filter/lwplaypiece.cxx
index 05f8fab..50e036f 100644
--- a/lotuswordpro/source/filter/lwplaypiece.cxx
+++ b/lotuswordpro/source/filter/lwplaypiece.cxx
@@ -74,6 +74,9 @@ void LwpRotor:: Read(LwpObjectStream *pStrm)
 
 LwpLayoutGeometry::LwpLayoutGeometry(LwpObjectHeader& objHdr, LwpSvStream* pStrm)
     : LwpVirtualPiece(objHdr, pStrm)
+    , m_nWidth(0)
+    , m_nHeight(0)
+    , m_ContentOrientation(0)
 {}
 
 LwpLayoutGeometry::~LwpLayoutGeometry()


More information about the Libreoffice-commits mailing list