[Libreoffice-commits] core.git: hwpfilter/source
Caolán McNamara
caolanm at redhat.com
Sun Mar 9 09:38:15 PDT 2014
hwpfilter/source/hbox.cxx | 16 ++++++++++++----
1 file changed, 12 insertions(+), 4 deletions(-)
New commits:
commit 2b3470a2c05f611618f0b0ab68cc3d57b45dab65
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sun Mar 9 16:37:11 2014 +0000
coverity#707893 Uninitialized scalar field
Change-Id: Ib3dfe4dae625816ee070b0aa5e08fc92e6454131
diff --git a/hwpfilter/source/hbox.cxx b/hwpfilter/source/hbox.cxx
index 08b4cf8..085030b 100644
--- a/hwpfilter/source/hbox.cxx
+++ b/hwpfilter/source/hbox.cxx
@@ -354,13 +354,21 @@ hunit TxtBox::Height(CharShape * csty)
// picture(11)
-Picture::Picture(void):FBox(CH_PICTURE)
+Picture::Picture()
+ : FBox(CH_PICTURE)
+ , dummy(0)
+ , follow_block_size(0)
+ , dummy1(0)
+ , dummy2(0)
+ , reserved1(0)
+ , cap_pos(0)
+ , num(0)
+ , pictype(0)
+ , follow(0)
+ , ishyper(false)
{
- follow = 0;
- ishyper = false;
}
-
Picture::~Picture(void)
{
delete[]follow;
More information about the Libreoffice-commits
mailing list