[Libreoffice-commits] core.git: hwpfilter/source

Caolán McNamara caolanm at redhat.com
Sun Mar 9 09:39:34 PDT 2014


 hwpfilter/source/hbox.cxx |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

New commits:
commit c95abf20ebd7c12570af5f7c9bc2f2b83a41dfb5
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Sun Mar 9 16:38:48 2014 +0000

    coverity#707894 Uninitialized scalar field
    
    Change-Id: Ibd3afa46462fd7d893e72038cc3c01a00af6dae2

diff --git a/hwpfilter/source/hbox.cxx b/hwpfilter/source/hbox.cxx
index 085030b..299e0c8 100644
--- a/hwpfilter/source/hbox.cxx
+++ b/hwpfilter/source/hbox.cxx
@@ -117,13 +117,14 @@ FieldCode::~FieldCode(void)
           delete m_pDate;
 }
 
-
 // book mark(6)
-Bookmark::Bookmark(void):HBox(CH_BOOKMARK)
+Bookmark::Bookmark()
+    : HBox(CH_BOOKMARK)
+    , dummy(0)
+    , type(0)
 {
 }
 
-
 Bookmark::~Bookmark(void)
 {
 }


More information about the Libreoffice-commits mailing list