[Libreoffice-commits] core.git: 4 commits - sax/source sw/CppunitTest_sw_htmlexport.mk sw/source

Caolán McNamara caolanm at redhat.com
Thu Jan 23 08:36:17 PST 2014


 sax/source/fastparser/fastparser.cxx |    9 ++++++---
 sw/CppunitTest_sw_htmlexport.mk      |    1 +
 sw/source/core/text/pormulti.cxx     |   18 ++++++++++++------
 3 files changed, 19 insertions(+), 9 deletions(-)

New commits:
commit 5d42a1db69aa8b5acf215e21744eb6baf5b02758
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Jan 23 16:31:56 2014 +0000

    fix tinderboxes
    
    Change-Id: I36dc46852dfa14fc3c9195b1f4fd85198a665e22

diff --git a/sw/CppunitTest_sw_htmlexport.mk b/sw/CppunitTest_sw_htmlexport.mk
index 0179bdd..0345d4c 100644
--- a/sw/CppunitTest_sw_htmlexport.mk
+++ b/sw/CppunitTest_sw_htmlexport.mk
@@ -56,6 +56,7 @@ $(eval $(call gb_CppunitTest_use_components,sw_htmlexport,\
     configmgr/source/configmgr \
     embeddedobj/util/embobj \
     filter/source/config/cache/filterconfig1 \
+    filter/source/htmlfilterdetect/htmlfd \
 	forms/util/frm \
     framework/util/fwk \
     i18npool/util/i18npool \
commit 03dbf44d1958e5cfec2b866ee450d3f8a6bbd370
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Jan 23 16:30:08 2014 +0000

    coverity#1158441 Uninitialized scalar field
    
    Change-Id: Ic898ce7a38000f6f07ed7116801bb463f915ca4b

diff --git a/sw/source/core/text/pormulti.cxx b/sw/source/core/text/pormulti.cxx
index 25d6ae9..2ac0a19 100644
--- a/sw/source/core/text/pormulti.cxx
+++ b/sw/source/core/text/pormulti.cxx
@@ -290,8 +290,12 @@ SwDoubleLinePortion::SwDoubleLinePortion(SwDoubleLinePortion& rDouble, sal_Int32
  * internetstyle, which contains the 2-line-attribute.
  * --------------------------------------------------*/
 
-SwDoubleLinePortion::SwDoubleLinePortion( const SwMultiCreator& rCreate,
-    sal_Int32 nEnd ) : SwMultiPortion( nEnd ), pBracket( new SwBracket() )
+SwDoubleLinePortion::SwDoubleLinePortion(const SwMultiCreator& rCreate, sal_Int32 nEnd)
+    : SwMultiPortion(nEnd)
+    , pBracket(new SwBracket())
+    , nLineDiff(0)
+    , nBlank1(0)
+    , nBlank2(0)
 {
     SetDouble();
     const SvxTwoLinesItem* pTwo = (SvxTwoLinesItem*)rCreate.pItem;
commit b3fd6a6d9e21f030186d304417c516d369a58a3e
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Jan 23 16:28:23 2014 +0000

    coverity#1158442 Uninitialized scalar field
    
    Change-Id: I39ec7882d240703281a535f81375580d48720f5e

diff --git a/sw/source/core/text/pormulti.cxx b/sw/source/core/text/pormulti.cxx
index 0ca8077..25d6ae9 100644
--- a/sw/source/core/text/pormulti.cxx
+++ b/sw/source/core/text/pormulti.cxx
@@ -260,10 +260,12 @@ sal_Int32 SwBidiPortion::GetSpaceCnt( const SwTxtSizeInfo &rInf ) const
  * brackets, these will be deleted.
  * --------------------------------------------------*/
 
-SwDoubleLinePortion::SwDoubleLinePortion( SwDoubleLinePortion& rDouble,
-                                          sal_Int32 nEnd ) :
-    SwMultiPortion( nEnd ),
-    pBracket( 0 )
+SwDoubleLinePortion::SwDoubleLinePortion(SwDoubleLinePortion& rDouble, sal_Int32 nEnd)
+    : SwMultiPortion(nEnd)
+    , pBracket(0)
+    , nLineDiff(0)
+    , nBlank1(0)
+    , nBlank2(0)
 {
     SetDirection( rDouble.GetDirection() );
     SetDouble();
commit c5135af60f4e82fafed4557ae73a4f13435d1d61
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Jan 23 16:16:43 2014 +0000

    coverity#1158443 Uninitialized pointer field
    
    Change-Id: I1602678c24c1aeec60acee05801e7decc914560f

diff --git a/sax/source/fastparser/fastparser.cxx b/sax/source/fastparser/fastparser.cxx
index 2c18bb2..ff384f0 100644
--- a/sax/source/fastparser/fastparser.cxx
+++ b/sax/source/fastparser/fastparser.cxx
@@ -384,10 +384,13 @@ ParserData::~ParserData()
 
 // --------------------------------------------------------------------
 
-Entity::Entity( const ParserData& rData ) :
-    ParserData( rData )
+Entity::Entity(const ParserData& rData)
+    : ParserData(rData)
+    , mnProducedEventsSize(0)
+    , mpProducedEvents(NULL)
+    , mbEnableThreads(false)
+    , mpParser(NULL)
 {
-    mpProducedEvents = 0;
 }
 
 Entity::Entity(const Entity& e)


More information about the Libreoffice-commits mailing list