lotuswordpro/source/filter/lwplayout.cxx | 13 ++++++++++++- lotuswordpro/source/filter/lwplaypiece.cxx | 18 +++++++++++++++++- lotuswordpro/source/filter/lwppagehint.cxx | 11 ++++++++++- lotuswordpro/source/filter/lwppagelayout.cxx | 8 ++++++-- sw/qa/extras/ooxmlexport/ooxmlsdrexport.cxx | 2 +- 5 files changed, 46 insertions(+), 6 deletions(-)
New commits: commit 4402efc18ae16e279d55858946d2c8b8972f3f9f Author: Norbert Thiebaud <nthieb...@gmail.com> Date: Mon Mar 3 18:46:44 2014 -0600 coverity#738722: Unitialized scalar field Change-Id: Ice90cf6929c2cb5e268d18e20208835c3df18bc1 diff --git a/lotuswordpro/source/filter/lwplayout.cxx b/lotuswordpro/source/filter/lwplayout.cxx index da1f363..5dbf65f 100644 --- a/lotuswordpro/source/filter/lwplayout.cxx +++ b/lotuswordpro/source/filter/lwplayout.cxx @@ -78,6 +78,12 @@ LwpVirtualLayout::LwpVirtualLayout(LwpObjectHeader &objHdr, LwpSvStream* pStrm) : LwpDLNFPVList(objHdr, pStrm) + , m_nAttributes(0) + , m_nAttributes2(0) + , m_nAttributes3(0) + , m_nOverrideFlag(0) + , m_nDirection(0) + , m_nEditorID(0) { } commit 8c9a3e4fe6703a8c43e5cff113d70031f94af004 Author: Norbert Thiebaud <nthieb...@gmail.com> Date: Mon Mar 3 18:44:05 2014 -0600 coverity#738723: Unitialized scalar field Change-Id: I6cd56e57024f020799c5017f9d54b1f5e5af65d1 diff --git a/lotuswordpro/source/filter/lwplayout.cxx b/lotuswordpro/source/filter/lwplayout.cxx index d24aeb4..da1f363 100644 --- a/lotuswordpro/source/filter/lwplayout.cxx +++ b/lotuswordpro/source/filter/lwplayout.cxx @@ -1925,7 +1925,12 @@ LwpVirtualLayout* LwpLayout::GetContainerLayout() } LwpPlacableLayout::LwpPlacableLayout( LwpObjectHeader &objHdr, LwpSvStream* pStrm ) - : LwpLayout(objHdr, pStrm),m_pFont(NULL) + : LwpLayout(objHdr, pStrm) + , m_nWrapType(0) + , m_nBuoyancy(0) + , m_nBaseLineOffset(0) + , m_nPageNumber(0) + , m_pFont(NULL) {} LwpPlacableLayout::~LwpPlacableLayout() commit b2a774a7e58b8f06b8bf88813f9dc8db529bf127 Author: Norbert Thiebaud <nthieb...@gmail.com> Date: Mon Mar 3 18:40:03 2014 -0600 coverity#738724: Unitialized scalar field Change-Id: I673457818968f34f73fba988f67eda0547a234a0 diff --git a/lotuswordpro/source/filter/lwplaypiece.cxx b/lotuswordpro/source/filter/lwplaypiece.cxx index 41ec4a2..80c8d08 100644 --- a/lotuswordpro/source/filter/lwplaypiece.cxx +++ b/lotuswordpro/source/filter/lwplaypiece.cxx @@ -334,6 +334,12 @@ void LwpLayoutGutters::Parse(IXFStream* /*pOutputStream*/) {} LwpJoinStuff::LwpJoinStuff() + : m_nPercentage(0) + , m_nCorners(0) + , m_nWidth(0) + , m_nHeight(0) + , m_nID(0) + , m_nScaling(0) {} LwpJoinStuff::~LwpJoinStuff() commit 2589d9e3e6e9fab18ff735561991a3dcdd3d8b4b Author: Norbert Thiebaud <nthieb...@gmail.com> Date: Mon Mar 3 18:36:38 2014 -0600 coverity#738727: Unitialized scalar field Change-Id: I37bdf601f7a6bb179f8a14dfb22d3e102868fea1 diff --git a/lotuswordpro/source/filter/lwplaypiece.cxx b/lotuswordpro/source/filter/lwplaypiece.cxx index ce95003..41ec4a2 100644 --- a/lotuswordpro/source/filter/lwplaypiece.cxx +++ b/lotuswordpro/source/filter/lwplaypiece.cxx @@ -260,7 +260,9 @@ void LwpColumnInfo:: Read(LwpObjectStream *pStrm) } LwpLayoutColumns::LwpLayoutColumns(LwpObjectHeader& objHdr, LwpSvStream* pStrm) - : LwpVirtualPiece(objHdr, pStrm),m_pColumns(NULL) + : LwpVirtualPiece(objHdr, pStrm) + , m_nNumCols(0) + , m_pColumns(NULL) {} LwpLayoutColumns::~LwpLayoutColumns() commit c1788970adaa374f9b67f20f4385222b3a4d3c33 Author: Norbert Thiebaud <nthieb...@gmail.com> Date: Mon Mar 3 18:33:33 2014 -0600 coverity#738726: Unitialized scalar field Change-Id: I2c2354e95cc73c2f68b4feb0196754d26be4c19a diff --git a/lotuswordpro/source/filter/lwplaypiece.cxx b/lotuswordpro/source/filter/lwplaypiece.cxx index 76e90a1..ce95003 100644 --- a/lotuswordpro/source/filter/lwplaypiece.cxx +++ b/lotuswordpro/source/filter/lwplaypiece.cxx @@ -103,6 +103,12 @@ void LwpLayoutGeometry::Parse(IXFStream* /*pOutputStream*/) LwpLayoutScale::LwpLayoutScale(LwpObjectHeader& objHdr, LwpSvStream* pStrm) : LwpVirtualPiece(objHdr, pStrm) + , m_nScaleMode(0) + , m_nScalePercentage(0) + , m_nScaleWidth(0) + , m_nScaleHeight(0) + , m_nContentRotation(0) + , m_nPlacement(0) {} LwpLayoutScale::~LwpLayoutScale() commit d6dbee71e3e9087007345aa825903c12c2bf11ca Author: Norbert Thiebaud <nthieb...@gmail.com> Date: Mon Mar 3 18:31:24 2014 -0600 coverity#738725: Unitialized scalar field Change-Id: I809fb83fcffbf6974d8dac98fffcf7b019675b6e diff --git a/lotuswordpro/source/filter/lwplaypiece.cxx b/lotuswordpro/source/filter/lwplaypiece.cxx index 56f2307..76e90a1 100644 --- a/lotuswordpro/source/filter/lwplaypiece.cxx +++ b/lotuswordpro/source/filter/lwplaypiece.cxx @@ -240,6 +240,8 @@ void LwpLayoutExternalBorder::Parse(IXFStream* /*pOutputStream*/) {} LwpColumnInfo::LwpColumnInfo() + : m_nWidth(0) + , m_nGap(0) {} LwpColumnInfo::~LwpColumnInfo() commit 6c97ca241248afb969802bc2ef20b1eed53718e3 Author: Norbert Thiebaud <nthieb...@gmail.com> Date: Mon Mar 3 18:28:05 2014 -0600 coverity#738737: Unitialized scalar field Change-Id: Iaf00e15ff201d27aef54180524a55e6e5b151724 diff --git a/lotuswordpro/source/filter/lwppagehint.cxx b/lotuswordpro/source/filter/lwppagehint.cxx index df34d9f..0bbec76 100644 --- a/lotuswordpro/source/filter/lwppagehint.cxx +++ b/lotuswordpro/source/filter/lwppagehint.cxx @@ -83,7 +83,16 @@ void LwpFootnoteSeenHead::Read(LwpObjectStream* pObjStrm) } LwpPageHint::LwpPageHint(LwpObjectHeader &objHdr, LwpSvStream *pStrm) - :LwpDLVList(objHdr,pStrm) + : LwpDLVList(objHdr,pStrm) + , m_nLastFootnoteSeen(0) + , m_nLastFootnoteProcessed(0) + , m_nFlags(0) + , m_nPageNumber(0) + , m_nNumberStyle(0) + , m_nNumberFlags(0) + , m_nRenderedPageNumber(0) + , m_nCurrentSectionPage(0) + , m_nLayoutPageNumber(0) { } commit d2eefbdb42bb1f0098c7dae0ec30d8459aacd66c Author: Norbert Thiebaud <nthieb...@gmail.com> Date: Mon Mar 3 18:23:54 2014 -0600 coverity#738738: Unitialized scalar field Change-Id: I9ce08089eeafee24c98fc1b6c2799721517c039a diff --git a/lotuswordpro/source/filter/lwppagelayout.cxx b/lotuswordpro/source/filter/lwppagelayout.cxx index 1184ecf..c9cedac 100644 --- a/lotuswordpro/source/filter/lwppagelayout.cxx +++ b/lotuswordpro/source/filter/lwppagelayout.cxx @@ -77,8 +77,12 @@ Mar 2005 Created #include "lwpglobalmgr.hxx" LwpPageLayout::LwpPageLayout(LwpObjectHeader &objHdr, LwpSvStream* pStrm) - : LwpLayout(objHdr, pStrm), m_pPrinterBinName(new LwpAtomHolder), - m_pPaperName(new LwpAtomHolder),m_pXFPageMaster(NULL) + : LwpLayout(objHdr, pStrm) + , m_pPrinterBinName(new LwpAtomHolder) + , m_nPrinterBin(0) + , m_nBdroffset(0) + , m_pPaperName(new LwpAtomHolder) + , m_pXFPageMaster(NULL) { } commit a7db7c5ee26355ab5dcdc7c4bf6a46f0151228c4 Author: Norbert Thiebaud <nthieb...@gmail.com> Date: Mon Mar 3 18:17:43 2014 -0600 make sw_ooxmlsdrexport 'work' on mac Change-Id: I35558dfb71007932e9a371408e6306216cfbd0f9 diff --git a/sw/qa/extras/ooxmlexport/ooxmlsdrexport.cxx b/sw/qa/extras/ooxmlexport/ooxmlsdrexport.cxx index e9ef928..a1c378b 100644 --- a/sw/qa/extras/ooxmlexport/ooxmlsdrexport.cxx +++ b/sw/qa/extras/ooxmlexport/ooxmlsdrexport.cxx @@ -201,7 +201,7 @@ DECLARE_OOXMLEXPORT_TEST(testDmlRectangleRelsize, "dml-rectangle-relsize.docx") { // This was around 19560, as we did not read wp14:pctHeight for // drawinglayer shapes and the fallback data was invalid. - CPPUNIT_ASSERT(getShape(1)->getSize().Height > 21000); + CPPUNIT_ASSERT(getShape(1)->getSize().Height >= 20992); // This was around 0: relative size of 0% was imported as 0, not "fall back to absolute size". CPPUNIT_ASSERT(getShape(2)->getSize().Height > 300); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits