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

Caolán McNamara caolanm at redhat.com
Thu Mar 13 10:15:27 PDT 2014


 lotuswordpro/source/filter/lwpcharborderoverride.cxx |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

New commits:
commit 697af5520444439bc8f843d4a4390297961c6766
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Mar 13 17:14:57 2014 +0000

    coverity#738688 Uninitialized scalar field
    
    Change-Id: Ia161f30e943dfc3bf4ef114f3861817f9b1acb79

diff --git a/lotuswordpro/source/filter/lwpcharborderoverride.cxx b/lotuswordpro/source/filter/lwpcharborderoverride.cxx
index 9e63be2..a65d7dd 100644
--- a/lotuswordpro/source/filter/lwpcharborderoverride.cxx
+++ b/lotuswordpro/source/filter/lwpcharborderoverride.cxx
@@ -69,8 +69,11 @@
 #include "lwpborderstuff.hxx"
 #include "lwpmargins.hxx"
 
-LwpCharacterBorderOverride::LwpCharacterBorderOverride() :
-m_pBorderStuff(new LwpBorderStuff), m_pMargins(new LwpMargins)
+LwpCharacterBorderOverride::LwpCharacterBorderOverride()
+    : m_pBorderStuff(new LwpBorderStuff)
+    , m_pMargins(new LwpMargins)
+    , m_nAboveWidth(0)
+    , m_nBelowWidth(0)
 {
 }
 


More information about the Libreoffice-commits mailing list