summaryrefslogtreecommitdiff
path: root/lotuswordpro
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-03-24 10:37:40 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-03-24 12:12:30 +0000
commitfa8f562bdf7e6c4a7f38078616336e42f4b9c0a5 (patch)
tree017dc5c7d6571a7511a539151f4381d1a6d2809d /lotuswordpro
parenta363986f9426d36a4f145a077d6a92a7abf29ff6 (diff)
coverity#738759 Uninitialized pointer field
Change-Id: Ic6f85dd76208ce31a3aecd6a638798440a6b7b82
Diffstat (limited to 'lotuswordpro')
-rw-r--r--lotuswordpro/source/filter/lwptoc.cxx9
1 files changed, 7 insertions, 2 deletions
diff --git a/lotuswordpro/source/filter/lwptoc.cxx b/lotuswordpro/source/filter/lwptoc.cxx
index 91964322fd5c..f9560961e89b 100644
--- a/lotuswordpro/source/filter/lwptoc.cxx
+++ b/lotuswordpro/source/filter/lwptoc.cxx
@@ -82,10 +82,15 @@
LwpTocSuperLayout::LwpTocSuperLayout(LwpObjectHeader &objHdr, LwpSvStream* pStrm)
: LwpSuperTableLayout(objHdr, pStrm)
-{}
+ , m_nFrom(0)
+ , m_pCont(NULL)
+{
+}
LwpTocSuperLayout::~LwpTocSuperLayout()
-{}
+{
+}
+
/**
* @short Read TOCSUPERTABLELAYOUT object
* @return none