summaryrefslogtreecommitdiff
path: root/lotuswordpro/source/filter/lwpdoc.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'lotuswordpro/source/filter/lwpdoc.cxx')
-rw-r--r--lotuswordpro/source/filter/lwpdoc.cxx10
1 files changed, 2 insertions, 8 deletions
diff --git a/lotuswordpro/source/filter/lwpdoc.cxx b/lotuswordpro/source/filter/lwpdoc.cxx
index 65eb22784ec7..9455c6b91854 100644
--- a/lotuswordpro/source/filter/lwpdoc.cxx
+++ b/lotuswordpro/source/filter/lwpdoc.cxx
@@ -81,14 +81,8 @@ LwpDocument::LwpDocument(LwpObjectHeader& objHdr, LwpSvStream* pStrm)
LwpDocument::~LwpDocument()
{
- if(m_pLnOpts)
- {
- delete m_pLnOpts;
- }
- if(m_pOwnedFoundry)
- {
- delete m_pOwnedFoundry;
- }
+ delete m_pLnOpts;
+ delete m_pOwnedFoundry;
}
/**
* @descr Read VO_Document from object stream