summaryrefslogtreecommitdiff
path: root/lotuswordpro
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-03-24 10:33:36 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-03-24 12:12:30 +0000
commit623a3455879dc39db9380f3310962c22eb8b6978 (patch)
treeec89efb760719a29bb5fb41e12faaeb0eb74ac93 /lotuswordpro
parent49a0b94bf549d47e5429f7f95d00f9dc46d25435 (diff)
coverity#738748 Uninitialized pointer field
Change-Id: I4fe453482a73ebee1618cbd2813ae5d8f12ee472
Diffstat (limited to 'lotuswordpro')
-rw-r--r--lotuswordpro/source/filter/lwpstory.cxx16
1 files changed, 11 insertions, 5 deletions
diff --git a/lotuswordpro/source/filter/lwpstory.cxx b/lotuswordpro/source/filter/lwpstory.cxx
index d8983b9cd9af..8d16d71e65f8 100644
--- a/lotuswordpro/source/filter/lwpstory.cxx
+++ b/lotuswordpro/source/filter/lwpstory.cxx
@@ -68,15 +68,21 @@
#include "xfilter/xfstylemanager.hxx"
LwpStory::LwpStory(LwpObjectHeader &objHdr, LwpSvStream* pStrm)
- : LwpContent(objHdr, pStrm),m_bPMModified(sal_False),m_pCurrentLayout(NULL),
- m_pTabLayout(NULL),m_bDropcap(sal_False), m_pHyperlinkMgr(new LwpHyperlinkMgr)
-{}
+ : LwpContent(objHdr, pStrm)
+ , m_bPMModified(sal_False)
+ , m_pCurrentLayout(NULL)
+ , m_pTabLayout(NULL)
+ , m_bDropcap(sal_False)
+ , m_pHyperlinkMgr(new LwpHyperlinkMgr)
+ , m_pXFContainer(NULL)
+{
+}
LwpStory::~LwpStory()
{
- if (m_pHyperlinkMgr)
- delete m_pHyperlinkMgr;
+ delete m_pHyperlinkMgr;
}
+
void LwpStory::Read()
{
LwpContent::Read();