summaryrefslogtreecommitdiff
path: root/lotuswordpro
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-03-24 10:30:31 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-03-24 12:12:29 +0000
commit1b6364d9aaf6413d80e6c562fbd1007e752c0988 (patch)
treea6c575d2fa4681de982081dbedf9ed7b24506e93 /lotuswordpro
parent1e46d2f6077ec1c46e71c6d26f861cf912a63677 (diff)
coverity#738742 Uninitialized pointer field
Change-Id: I850654984fec3d51f9b4292334c0180fb0f363b0
Diffstat (limited to 'lotuswordpro')
-rw-r--r--lotuswordpro/source/filter/lwpparaproperty.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/lotuswordpro/source/filter/lwpparaproperty.cxx b/lotuswordpro/source/filter/lwpparaproperty.cxx
index e572441c51a0..7a8469ce17e8 100644
--- a/lotuswordpro/source/filter/lwpparaproperty.cxx
+++ b/lotuswordpro/source/filter/lwpparaproperty.cxx
@@ -230,13 +230,11 @@ m_pBullet(new LwpBulletOverride)
LwpParaBulletProperty::~LwpParaBulletProperty()
{
- if (m_pBullet)
- {
- delete m_pBullet;
- }
+ delete m_pBullet;
}
LwpParaNumberingProperty::LwpParaNumberingProperty(LwpObjectStream * pStrm)
+ : m_pNumberingOverride(NULL)
{
LwpObjectID aNumberingPiece;
aNumberingPiece.ReadIndexed(pStrm);