diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-03-24 10:30:31 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-24 12:12:29 +0000 |
commit | 1b6364d9aaf6413d80e6c562fbd1007e752c0988 (patch) | |
tree | a6c575d2fa4681de982081dbedf9ed7b24506e93 | |
parent | 1e46d2f6077ec1c46e71c6d26f861cf912a63677 (diff) |
coverity#738742 Uninitialized pointer field
Change-Id: I850654984fec3d51f9b4292334c0180fb0f363b0
-rw-r--r-- | lotuswordpro/source/filter/lwpparaproperty.cxx | 6 |
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); |