[Libreoffice-commits] core.git: 11 commits - lotuswordpro/source
Norbert Thiebaud
nthiebaud at gmail.com
Mon Mar 3 19:48:32 PST 2014
lotuswordpro/source/filter/lwpfont.hxx | 5 +++-
lotuswordpro/source/filter/lwpfootnote.cxx | 3 ++
lotuswordpro/source/filter/lwpfootnote.hxx | 15 ++++++++++++--
lotuswordpro/source/filter/lwpframelayout.cxx | 5 ++++
lotuswordpro/source/filter/lwpfrib.cxx | 12 +++++++----
lotuswordpro/source/filter/lwpfribmark.cxx | 27 ++++++++++++++++----------
lotuswordpro/source/filter/lwpfribmark.hxx | 5 +++-
7 files changed, 54 insertions(+), 18 deletions(-)
New commits:
commit 15aeb69e5b4b8f41e303b664597754a5f838276a
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date: Mon Mar 3 21:47:28 2014 -0600
coverity#738709 Unitialized scalar field
Change-Id: Ic2480dda2ceb1afd768effcc3df718fb73a222fb
diff --git a/lotuswordpro/source/filter/lwpfont.hxx b/lotuswordpro/source/filter/lwpfont.hxx
index 7cdf58d..408b314 100644
--- a/lotuswordpro/source/filter/lwpfont.hxx
+++ b/lotuswordpro/source/filter/lwpfont.hxx
@@ -234,7 +234,10 @@ private:
class LwpFontAttrManager
{
public:
- LwpFontAttrManager():m_pFontAttrs(NULL){}
+ LwpFontAttrManager()
+ : m_nCount(0)
+ , m_pFontAttrs(NULL)
+ {}
~LwpFontAttrManager();
public:
void Read(LwpObjectStream *pStrm);
commit 89d6bef541bf894f27bcb79d96220f60aacbf77c
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date: Mon Mar 3 21:45:28 2014 -0600
coverity#738710 Unitialized scalar field
Change-Id: I441e4f712431c906acaaee88f5eee2531224a73d
diff --git a/lotuswordpro/source/filter/lwpfootnote.cxx b/lotuswordpro/source/filter/lwpfootnote.cxx
index 0d59084..0cd3216 100644
--- a/lotuswordpro/source/filter/lwpfootnote.cxx
+++ b/lotuswordpro/source/filter/lwpfootnote.cxx
@@ -146,6 +146,8 @@ LwpFootnote* LwpFribFootnote::GetFootnote()
LwpFootnote::LwpFootnote(LwpObjectHeader &objHdr, LwpSvStream *pStrm)
: LwpOrderedObject(objHdr, pStrm)
+ , m_nType(0)
+ , m_nRow(0)
{
}
commit cc14fe3a58db591c9f5042403fb21308e8f2990b
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date: Mon Mar 3 21:44:44 2014 -0600
coverity#738711 Unitialized scalar field
Change-Id: I6cc731825bf6e499fc903cd43448b288d44bc3b1
diff --git a/lotuswordpro/source/filter/lwpfootnote.cxx b/lotuswordpro/source/filter/lwpfootnote.cxx
index 31078ad..0d59084 100644
--- a/lotuswordpro/source/filter/lwpfootnote.cxx
+++ b/lotuswordpro/source/filter/lwpfootnote.cxx
@@ -439,6 +439,7 @@ void LwpFootnoteSeparatorOptions::Read(LwpObjectStream *pObjStrm)
LwpFootnoteOptions::LwpFootnoteOptions(LwpObjectHeader &objHdr, LwpSvStream *pStrm)
: LwpObject(objHdr, pStrm)
+ , m_nFlag(0)
{
}
commit 240dee4a55186119d74a1ac36f92d54769d636c0
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date: Mon Mar 3 21:43:47 2014 -0600
coverity#738712 Unitialized scalar field
Change-Id: Ia1433be559d445ba3ae4d118003a59275c0e9bd5
diff --git a/lotuswordpro/source/filter/lwpfootnote.hxx b/lotuswordpro/source/filter/lwpfootnote.hxx
index f4f0dcf..e7ece5f 100644
--- a/lotuswordpro/source/filter/lwpfootnote.hxx
+++ b/lotuswordpro/source/filter/lwpfootnote.hxx
@@ -166,7 +166,11 @@ protected:
class LwpFootnoteNumberOptions
{
public:
- LwpFootnoteNumberOptions(){}
+ LwpFootnoteNumberOptions()
+ : m_nFlag(0)
+ , m_nStartingNumber(0)
+ {}
+
~LwpFootnoteNumberOptions(){}
void Read(LwpObjectStream* pObjStrm);
private:
commit 006299c50d4b53bfb0db7015f97014dec80891c7
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date: Mon Mar 3 21:42:39 2014 -0600
coverity#738713 Unitialized scalar field
Change-Id: I9241531bd9c7881c6edb57c4f3c0c8b594dae0d6
diff --git a/lotuswordpro/source/filter/lwpfootnote.hxx b/lotuswordpro/source/filter/lwpfootnote.hxx
index d05cb48..f4f0dcf 100644
--- a/lotuswordpro/source/filter/lwpfootnote.hxx
+++ b/lotuswordpro/source/filter/lwpfootnote.hxx
@@ -198,7 +198,14 @@ public:
class LwpFootnoteSeparatorOptions
{
public:
- LwpFootnoteSeparatorOptions(){}
+ LwpFootnoteSeparatorOptions()
+ : m_nFlag(0)
+ , m_nLength(0)
+ , m_nIndent(0)
+ , m_nAbove(0)
+ , m_nBelow(0)
+ {}
+
~LwpFootnoteSeparatorOptions(){}
void Read(LwpObjectStream* pObjStrm);
private:
commit 03c62fa7d7c3bc7058dbd5cf4629ca81ac51650f
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date: Mon Mar 3 21:40:45 2014 -0600
coverity#738714 Unitialized scalar field
Change-Id: I760f56eb7f2af7dd8f836b6dc60914d2381e3a95
diff --git a/lotuswordpro/source/filter/lwpframelayout.cxx b/lotuswordpro/source/filter/lwpframelayout.cxx
index 9a73c7b..412f89f 100644
--- a/lotuswordpro/source/filter/lwpframelayout.cxx
+++ b/lotuswordpro/source/filter/lwpframelayout.cxx
@@ -1200,6 +1200,11 @@ void LwpDropcapLayout::RegisterStyle()
LwpRubyLayout::LwpRubyLayout(LwpObjectHeader &objHdr, LwpSvStream* pStrm)
: LwpFrameLayout(objHdr, pStrm)
+ , m_nPlacement(0)
+ , m_nAlignment(0)
+ , m_nStateFlag(0)
+ , m_nXOffset(0)
+ , m_nYOffset(0)
{
}
commit adfaa1a9276370e8aca17b17df23eecb088dd57b
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date: Mon Mar 3 21:38:38 2014 -0600
coverity#738715 Unitialized scalar field
Change-Id: I3f92d8c0674c4f21983ccb2619270b5210822233
diff --git a/lotuswordpro/source/filter/lwpfrib.cxx b/lotuswordpro/source/filter/lwpfrib.cxx
index ca91ef9..830dc86 100644
--- a/lotuswordpro/source/filter/lwpfrib.cxx
+++ b/lotuswordpro/source/filter/lwpfrib.cxx
@@ -86,11 +86,15 @@
#include "lwpglobalmgr.hxx"
LwpFrib::LwpFrib(LwpPara* pPara)
- : m_pPara(pPara), m_pNext(NULL)
+ : m_pPara(pPara)
+ , m_pNext(NULL)
+ , m_nFribType(0)
+ , m_pModifiers(NULL)
+ , m_ModFlag(sal_False)
+ , m_nRevisionType(0)
+ , m_bRevisionFlag(sal_False)
+ , m_nEditor(0)
{
- m_ModFlag = sal_False;
- m_pModifiers = NULL;
- m_bRevisionFlag = sal_False;
}
LwpFrib::~LwpFrib()
commit 2bb8ba663633cf48c14cc0a5013ba55376fde260
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date: Mon Mar 3 21:35:00 2014 -0600
coverity#738716 Unitialized scalar field
Change-Id: I8378e8af40cfd88e80ea1321576d1acbc21da8c6
diff --git a/lotuswordpro/source/filter/lwpfribmark.cxx b/lotuswordpro/source/filter/lwpfribmark.cxx
index eb31fce..0fd7e9d 100644
--- a/lotuswordpro/source/filter/lwpfribmark.cxx
+++ b/lotuswordpro/source/filter/lwpfribmark.cxx
@@ -217,15 +217,16 @@ void LwpFribBookMark::XFConvert(XFContentContainer* pXFPara)
* @param:
* @param:
*/
-LwpFribField::LwpFribField( LwpPara* pPara ) : LwpFrib(pPara)
+LwpFribField::LwpFribField( LwpPara* pPara )
+ : LwpFrib(pPara)
+ , m_nType(0)
+ , m_TimeStyle("")
+ , m_nSubType(0)
+ , m_sFormula("")
+ , m_nCrossRefType(0)
+ , m_nDateTimeType(0)
+ , m_nDocPowerType(0)
{
- m_TimeStyle = A2OUSTR("");
-
- m_nSubType = 0;//datetime/crossref/other
- m_sFormula = A2OUSTR("");
-
- m_nCrossRefType = 0;
- m_nDateTimeType = 0;
}
void LwpFribField::Read(LwpObjectStream* pObjStrm, sal_uInt16 /*len*/)
commit 41cf0157b76d2b003f68e5e15102a895374a2811
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date: Mon Mar 3 21:31:07 2014 -0600
coverity#738717 Unitialized scalar field
Change-Id: I75baf0ccc602b7bb89f9bd0efaf2b06b89a231c9
diff --git a/lotuswordpro/source/filter/lwpfribmark.cxx b/lotuswordpro/source/filter/lwpfribmark.cxx
index 2f0e6f2..eb31fce 100644
--- a/lotuswordpro/source/filter/lwpfribmark.cxx
+++ b/lotuswordpro/source/filter/lwpfribmark.cxx
@@ -175,7 +175,11 @@ void LwpFribBookMark::RegisterStyle(LwpFoundry* pFoundry)
}
}
-LwpFribBookMark::LwpFribBookMark(LwpPara* pPara ) : LwpFrib(pPara),m_pStart(NULL),m_pEnd(NULL)
+LwpFribBookMark::LwpFribBookMark(LwpPara* pPara )
+ : LwpFrib(pPara)
+ , m_nType(0)
+ , m_pStart(NULL)
+ , m_pEnd(NULL)
{
}
commit f3cd7e51366801614384681c54ae9f75930340dc
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date: Mon Mar 3 21:29:29 2014 -0600
coverity#738718 Unitialized scalar field
Change-Id: I62e4878ac4130d79b10282da7b26c857399b5ac7
diff --git a/lotuswordpro/source/filter/lwpfribmark.cxx b/lotuswordpro/source/filter/lwpfribmark.cxx
index 79498b7..2f0e6f2 100644
--- a/lotuswordpro/source/filter/lwpfribmark.cxx
+++ b/lotuswordpro/source/filter/lwpfribmark.cxx
@@ -1415,7 +1415,9 @@ void LwpFribField::ConvertCrossRefEnd(XFContentContainer* pXFPara,LwpFieldMark*
pXFPara->Add(pRef);
}
-LwpFribRubyMarker::LwpFribRubyMarker( LwpPara* pPara ): LwpFrib(pPara)
+LwpFribRubyMarker::LwpFribRubyMarker( LwpPara* pPara )
+ : LwpFrib(pPara)
+ , m_nType(0)
{
}
commit d1ff3496f0461f8333ea2f4dd8339bf160009632
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date: Mon Mar 3 21:28:15 2014 -0600
coverity#738719 Unitialized scalar field
Change-Id: Id52d7e5bedb898f0b50c14ba0cac4c309dd1fbcf
diff --git a/lotuswordpro/source/filter/lwpfribmark.hxx b/lotuswordpro/source/filter/lwpfribmark.hxx
index 8fedfa0..929b2cc 100644
--- a/lotuswordpro/source/filter/lwpfribmark.hxx
+++ b/lotuswordpro/source/filter/lwpfribmark.hxx
@@ -74,7 +74,10 @@
class LwpFribCHBlock : public LwpFrib
{
public:
- LwpFribCHBlock( LwpPara* pPara ) : LwpFrib(pPara){}
+ LwpFribCHBlock( LwpPara* pPara )
+ : LwpFrib(pPara)
+ , m_nType(0)
+ {}
~LwpFribCHBlock(){}
void Read(LwpObjectStream* pObjStrm, sal_uInt16 len);
LwpCHBlkMarker* GetMarker();
More information about the Libreoffice-commits
mailing list