[Libreoffice-commits] core.git: Branch 'libreoffice-4-4' - 2 commits - sc/source sd/source

Caolán McNamara caolanm at redhat.com
Mon Dec 8 06:47:19 PST 2014


 sc/source/core/data/table3.cxx |    1 +
 sd/source/core/sdpage2.cxx     |    2 ++
 2 files changed, 3 insertions(+)

New commits:
commit 72888d56b7821614912736a2b6a41f512f98442b
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Mon Dec 8 13:44:25 2014 +0000

    coverity#1257111 Uninitialized pointer field
    
    Change-Id: I82c771f0ca7d2593a6f34dd84689cf055f9cf3f3
    (cherry picked from commit 32e38e1ec703dcdcff484eae3634a69e0d9c864e)

diff --git a/sc/source/core/data/table3.cxx b/sc/source/core/data/table3.cxx
index 1b818c5..4637e74 100644
--- a/sc/source/core/data/table3.cxx
+++ b/sc/source/core/data/table3.cxx
@@ -866,6 +866,7 @@ class ListenerStartAction : public sc::ColumnSpanSet::ColumnAction
 
 public:
     ListenerStartAction( ScDocument& rDoc ) :
+        mpCol(0),
         mpPosSet(new sc::ColumnBlockPositionSet(rDoc)),
         maStartCxt(rDoc, mpPosSet),
         maEndCxt(rDoc, mpPosSet) {}
commit 18c90a46f745d7017f23cbb06e010ee93f572349
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Mon Dec 8 13:43:56 2014 +0000

    coverity#1257112 Uninitialized scalar field
    
    Change-Id: I79063c103707e91f04c22a284f7af035fef6d21d
    (cherry picked from commit d15d0ec6de566f8a2dc2e9c575ecf4e19c070ade)

diff --git a/sd/source/core/sdpage2.cxx b/sd/source/core/sdpage2.cxx
index 57f4699..5b4987f 100644
--- a/sd/source/core/sdpage2.cxx
+++ b/sd/source/core/sdpage2.cxx
@@ -402,6 +402,8 @@ SdPage::SdPage(const SdPage& rSrcPage)
     meOrientation        = rSrcPage.meOrientation;
 
     mpPageLink           = NULL;    // is set when inserting via ConnectLink()
+
+    mbIsPrecious         = false;
 }
 
 void SdPage::lateInit(const SdPage& rSrcPage)


More information about the Libreoffice-commits mailing list