starmath/source/eqnolefilehdr.hxx | 4 +++- sw/source/filter/html/htmlatr.cxx | 12 ++++++++++-- sw/source/filter/html/parcss1.cxx | 8 +++++++- sw/source/filter/html/wrthtml.hxx | 4 ++++ sw/source/filter/ww8/ww8attributeoutput.hxx | 14 +++++++++++++- 5 files changed, 37 insertions(+), 5 deletions(-)
New commits: commit 2e963241d39e31b1d55552c77745e3fa3fa54c0f Author: Caolán McNamara <caol...@redhat.com> Date: Wed Apr 23 16:44:20 2014 +0100 coverity#708501 Uninitialized scalar field Change-Id: I5ca7c564e2ec79862a3ad522df61b24e44e9a16d diff --git a/sw/source/filter/ww8/ww8attributeoutput.hxx b/sw/source/filter/ww8/ww8attributeoutput.hxx index d1f628e..e86ce67 100644 --- a/sw/source/filter/ww8/ww8attributeoutput.hxx +++ b/sw/source/filter/ww8/ww8attributeoutput.hxx @@ -457,7 +457,19 @@ protected: bool mbOnTOXEnding; public: - WW8AttributeOutput( WW8Export &rWW8Export ) : AttributeOutputBase(), m_rWW8Export( rWW8Export ),mbOnTOXEnding(false) {} + WW8AttributeOutput( WW8Export &rWW8Export ) + : AttributeOutputBase() + , m_rWW8Export(rWW8Export) + , nPOPosStdLen1(0) + , nPOPosStdLen2(0) + , m_nStyleStartSize(0) + , m_nStyleLenPos(0) + , m_nStyAnzPos(0) + , m_nFieldResults(0) + , mbOnTOXEnding(false) + { + } + virtual ~WW8AttributeOutput() {} /// Return the right export class. commit 18aca55e1aa8649c12328a3ca8f40ca9b718f43a Author: Caolán McNamara <caol...@redhat.com> Date: Wed Apr 23 16:37:18 2014 +0100 coverity#708484 Uninitialized scalar field Change-Id: Ie9c3e5e6c39cc4c80b064088df5f3b8748819d7d diff --git a/sw/source/filter/html/parcss1.cxx b/sw/source/filter/html/parcss1.cxx index 675e6a1..640deb1 100644 --- a/sw/source/filter/html/parcss1.cxx +++ b/sw/source/filter/html/parcss1.cxx @@ -1114,7 +1114,13 @@ CSS1Expression *CSS1Parser::ParseDeclaration( OUString& rProperty ) } CSS1Parser::CSS1Parser() - : nValue(0) + : bWhiteSpace(false) + , bEOF(false) + , cNextCh(0) + , nInPos(0) + , nlLineNr(0) + , nlLinePos(0) + , nValue(0) , eState(CSS1_PAR_ACCEPTED) , nToken(CSS1_NULL) { commit 9ad22b866df5feff3dc0227ce45816e3b778f540 Author: Caolán McNamara <caol...@redhat.com> Date: Wed Apr 23 16:30:43 2014 +0100 coverity#708481 Uninitialized scalar field Change-Id: I725a9c6a4d41502ffce1403dbe3f3822b93ddb4c diff --git a/sw/source/filter/html/htmlatr.cxx b/sw/source/filter/html/htmlatr.cxx index e8c4156..962e1c6 100644 --- a/sw/source/filter/html/htmlatr.cxx +++ b/sw/source/filter/html/htmlatr.cxx @@ -229,8 +229,16 @@ SwHTMLTxtCollOutputInfo::~SwHTMLTxtCollOutputInfo() SwHTMLFmtInfo::SwHTMLFmtInfo( const SwFmt *pF, SwDoc *pDoc, SwDoc *pTemplate, sal_Bool bOutStyles, LanguageType eDfltLang, - sal_uInt16 nCSS1Script, sal_Bool bHardDrop ) : - pFmt( pF ), pRefFmt(0), pItemSet( 0 ), bScriptDependent( false ) + sal_uInt16 nCSS1Script, sal_Bool bHardDrop ) + : pFmt(pF) + , pRefFmt(0) + , pItemSet(0) + , nLeftMargin(0) + , nRightMargin(0) + , nFirstLineIndent(0) + , nTopMargin(0) + , nBottomMargin(0) + , bScriptDependent( false ) { sal_uInt16 nRefPoolId = 0; // Den Selektor des Formats holen commit 72b0a06fb2e8cc923955b690332cfe525f295a8e Author: Caolán McNamara <caol...@redhat.com> Date: Wed Apr 23 16:27:25 2014 +0100 coverity#708480 Uninitialized scalar field Change-Id: I1688dee1e6a7e6fd7c63a2580f3625e1414c5f89 diff --git a/sw/source/filter/html/wrthtml.hxx b/sw/source/filter/html/wrthtml.hxx index 7d4b310..ca79e90 100644 --- a/sw/source/filter/html/wrthtml.hxx +++ b/sw/source/filter/html/wrthtml.hxx @@ -234,7 +234,11 @@ struct SwHTMLFmtInfo pFmt( pF ), pRefFmt(0), pItemSet( 0 ), + nLeftMargin( 0 ), + nRightMargin( 0 ), nFirstLineIndent(0), + nTopMargin( 0 ), + nBottomMargin( 0 ), bScriptDependent(false) {} commit 14a86738287a2f5b66e89aa0a9f5cb66ce3e7f53 Author: Caolán McNamara <caol...@redhat.com> Date: Wed Apr 23 14:44:08 2014 +0100 coverity#708231 Uninitialized scalar field Change-Id: I71190e7d5fe31e398f49e7bffba58c9a1818a9b3 diff --git a/starmath/source/eqnolefilehdr.hxx b/starmath/source/eqnolefilehdr.hxx index e2704b8..2c0e614 100644 --- a/starmath/source/eqnolefilehdr.hxx +++ b/starmath/source/eqnolefilehdr.hxx @@ -31,7 +31,9 @@ class SotStorage; class EQNOLEFILEHDR { public: - EQNOLEFILEHDR() {} + EQNOLEFILEHDR() : nCBHdr(0),nVersion(0), + nCf(0),nCBObject(0),nReserved1(0),nReserved2(0), + nReserved3(0), nReserved4(0) {} EQNOLEFILEHDR(sal_uInt32 nLenMTEF) : nCBHdr(0x1c),nVersion(0x20000), nCf(0xc1c6),nCBObject(nLenMTEF),nReserved1(0),nReserved2(0x0014F690), nReserved3(0x0014EBB4), nReserved4(0) {}
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits