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

Norbert Thiebaud nthiebaud at gmail.com
Sun Mar 2 18:51:55 PST 2014


 lotuswordpro/source/filter/lwppagelayout.cxx   |    2 +
 lotuswordpro/source/filter/lwppara.cxx         |   26 +++++++++++++++++--------
 lotuswordpro/source/filter/lwprowlayout.cxx    |    5 ++++
 lotuswordpro/source/filter/lwpsection.cxx      |    3 ++
 lotuswordpro/source/filter/lwpsilverbullet.cxx |    6 ++++-
 lotuswordpro/source/filter/lwptablelayout.cxx  |    2 +
 6 files changed, 35 insertions(+), 9 deletions(-)

New commits:
commit 2f4db1cf6eaf28fc5907dca4870368ea4b67fbc0
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date:   Sun Mar 2 20:50:28 2014 -0600

    coverity#738739: Unitialized scalar field
    
    Change-Id: I8c3def56a43cd10ffd02e3541d02377d00689c29

diff --git a/lotuswordpro/source/filter/lwppagelayout.cxx b/lotuswordpro/source/filter/lwppagelayout.cxx
index 39f2031..1184ecf 100644
--- a/lotuswordpro/source/filter/lwppagelayout.cxx
+++ b/lotuswordpro/source/filter/lwppagelayout.cxx
@@ -895,6 +895,7 @@ void LwpHeaderLayout::RegisterStyle(XFMasterPage* mp1)
 
 LwpFooterLayout::LwpFooterLayout( LwpObjectHeader &objHdr, LwpSvStream* pStrm )
     : LwpPlacableLayout( objHdr, pStrm )
+    , m_nBorderOffset(0)
 {
 }
 
commit 79db1351aa8dacb88d727e5778ac98ad1bf45847
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date:   Sun Mar 2 20:49:38 2014 -0600

    coverity#738740: Unitialized scalar field
    
    Change-Id: Ie9e3e0ce402f7b2790f82add89bc817ace3b79b4

diff --git a/lotuswordpro/source/filter/lwppagelayout.cxx b/lotuswordpro/source/filter/lwppagelayout.cxx
index b93233e..39f2031 100644
--- a/lotuswordpro/source/filter/lwppagelayout.cxx
+++ b/lotuswordpro/source/filter/lwppagelayout.cxx
@@ -730,6 +730,7 @@ LwpPara* LwpPageLayout::GetPagePosition()
 }
 LwpHeaderLayout::LwpHeaderLayout( LwpObjectHeader &objHdr, LwpSvStream* pStrm )
     : LwpPlacableLayout(objHdr, pStrm)
+    , m_nBorderOffset(0)
 {
 }
 
commit 89f70e49d12e9b7454b6bd76fa0ca64e8e99342a
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date:   Sun Mar 2 20:48:26 2014 -0600

    coverity#738741: Unitialized scalar field
    
    Change-Id: I688f2bc66ad37ddd850890dfa5bfbc3a7f7dc64f

diff --git a/lotuswordpro/source/filter/lwppara.cxx b/lotuswordpro/source/filter/lwppara.cxx
index 9b95a38..3596f8d 100644
--- a/lotuswordpro/source/filter/lwppara.cxx
+++ b/lotuswordpro/source/filter/lwppara.cxx
@@ -101,16 +101,26 @@
 #include "lwptable.hxx"
 
 LwpPara::LwpPara(LwpObjectHeader& objHdr, LwpSvStream* pStrm)
-    : LwpDLVList(objHdr, pStrm), m_pBreaks(NULL), m_pIndentOverride(NULL)
-    , m_bHasBullet(sal_False), m_pSilverBullet(NULL)
-    , /*m_pParaNumbering(NULL),*/ m_pBullOver(NULL)
+    : LwpDLVList(objHdr, pStrm)
+    , m_nOrdinal(0)
+    , m_nFlags(0)
+    , m_nLevel(0)
+    , m_pProps(NULL)
+    , m_pBreaks(NULL)
+    , m_pIndentOverride(NULL)
+    , m_AllText("")
+    , m_bHasBullet(sal_False)
+    , m_pSilverBullet(NULL)
+    , m_pBullOver(NULL)
     , m_bBullContinue(sal_False)
-    , m_bHasDropcap(sal_False), m_nLines(0), m_nChars(0)
-    , m_pDropcapLayout(NULL), m_BelowSpacing(0), m_pXFContainer(NULL)
+    , m_SectionStyleName("")
+    , m_bHasDropcap(sal_False)
+    , m_nLines(0)
+    , m_nChars(0)
+    , m_pDropcapLayout(NULL)
+    , m_BelowSpacing(0)
+    , m_pXFContainer(NULL)
 {
-    m_pProps = NULL;
-    m_SectionStyleName = A2OUSTR("");
-    m_AllText = A2OUSTR("");
 }
 
 LwpPara::~LwpPara()
commit 31283140ab5bed82d7dd1fb4af8aec4bb08173dd
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date:   Sun Mar 2 20:38:56 2014 -0600

    coverity#738743: Unitialized scalar field
    
    Change-Id: I6d8efb5f88b12705fb5efe33dc2d799a7280cda3

diff --git a/lotuswordpro/source/filter/lwprowlayout.cxx b/lotuswordpro/source/filter/lwprowlayout.cxx
index 596dd5f..ba71624 100644
--- a/lotuswordpro/source/filter/lwprowlayout.cxx
+++ b/lotuswordpro/source/filter/lwprowlayout.cxx
@@ -74,6 +74,11 @@
 
 LwpRowLayout::LwpRowLayout(LwpObjectHeader &objHdr, LwpSvStream* pStrm)
     : LwpVirtualLayout(objHdr, pStrm)
+    , crowid(0)
+    , cheight(0)
+    , cLeaderDotCount(0)
+    , cLeaderDotY(0)
+    , cRowFlags(0)
 {
     m_ConnCellList.clear();
 }
commit b9924a7743d762c7c44c820957576d9eae433f5a
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date:   Sun Mar 2 20:34:48 2014 -0600

    coverity#738745: Unitialized scalar field
    
    Change-Id: If580f3b3cd2127aab39357aaea623f6ebda17983

diff --git a/lotuswordpro/source/filter/lwpsection.cxx b/lotuswordpro/source/filter/lwpsection.cxx
index 597a88b..d124b6a 100644
--- a/lotuswordpro/source/filter/lwpsection.cxx
+++ b/lotuswordpro/source/filter/lwpsection.cxx
@@ -89,6 +89,7 @@ void LwpOrderedObject::Read()
 
 LwpSection::LwpSection(LwpObjectHeader &objHdr, LwpSvStream *pStrm)
     : LwpOrderedObject(objHdr, pStrm)
+    , m_Flags(0)
 {}
 
 LwpSection::~LwpSection()
commit fe5aee3aa0e848230078e5e4ddca078c42093851
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date:   Sun Mar 2 20:32:47 2014 -0600

    coverity#738746: Unitialized scalar field
    
    Change-Id: Ife4b43187756f94244832e65e277b532665b0dc2

diff --git a/lotuswordpro/source/filter/lwpsection.cxx b/lotuswordpro/source/filter/lwpsection.cxx
index d8b991c..597a88b 100644
--- a/lotuswordpro/source/filter/lwpsection.cxx
+++ b/lotuswordpro/source/filter/lwpsection.cxx
@@ -121,6 +121,8 @@ void LwpSection::Parse(IXFStream * /*pOutputStream*/)
 
 LwpIndexSection::LwpIndexSection(LwpObjectHeader &objHdr, LwpSvStream *pStrm)
     : LwpSection(objHdr, pStrm)
+    , m_nForm(0)
+    , m_nFlags(0)
 {}
 
 LwpIndexSection::~LwpIndexSection()
commit f7de7e066afb75a8dad3bbbcaa24d4591a8168fb
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date:   Sun Mar 2 20:31:20 2014 -0600

    coverity#738747: Unitialized scalar field
    
    Change-Id: I80a3698d20eece7c9e7fff3a6f7e806bd435555f

diff --git a/lotuswordpro/source/filter/lwpsilverbullet.cxx b/lotuswordpro/source/filter/lwpsilverbullet.cxx
index d03216a..8c2f0a2 100644
--- a/lotuswordpro/source/filter/lwpsilverbullet.cxx
+++ b/lotuswordpro/source/filter/lwpsilverbullet.cxx
@@ -72,7 +72,11 @@
 #include "xfilter/xfstylemanager.hxx"
 
 LwpSilverBullet::LwpSilverBullet(LwpObjectHeader& objHdr, LwpSvStream* pStrm)
-    : LwpDLNFVList(objHdr, pStrm), m_pAtomHolder(new LwpAtomHolder), m_pBulletPara(NULL)
+    : LwpDLNFVList(objHdr, pStrm)
+    , m_nFlags(0)
+    , m_nUseCount(0)
+    , m_pAtomHolder(new LwpAtomHolder)
+    , m_pBulletPara(NULL)
 {
 }
 
commit f16d329fb6fc827ceb69cf62dfd6cc4d4006848b
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date:   Sun Mar 2 20:28:26 2014 -0600

    coverity#738751: Unitialized scalar field
    
    Change-Id: Ieae3761afb4606340287e4c8d41eec53c132dfec

diff --git a/lotuswordpro/source/filter/lwptablelayout.cxx b/lotuswordpro/source/filter/lwptablelayout.cxx
index 7aa0bca..d33d8b5 100644
--- a/lotuswordpro/source/filter/lwptablelayout.cxx
+++ b/lotuswordpro/source/filter/lwptablelayout.cxx
@@ -1403,6 +1403,8 @@ XFCell* LwpTableLayout::GetCellsMap(sal_uInt16 nRow,sal_uInt8 nCol)
 //add end by
 LwpColumnLayout::LwpColumnLayout(LwpObjectHeader &objHdr, LwpSvStream* pStrm)
     : LwpVirtualLayout(objHdr, pStrm)
+    , ccolid(0)
+    , cwidth(0)
 {}
 
 LwpColumnLayout::~LwpColumnLayout()


More information about the Libreoffice-commits mailing list