diff options
Diffstat (limited to 'lotuswordpro/source/filter/lwpdlvlist.cxx')
-rw-r--r-- | lotuswordpro/source/filter/lwpdlvlist.cxx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lotuswordpro/source/filter/lwpdlvlist.cxx b/lotuswordpro/source/filter/lwpdlvlist.cxx index 22781f15eb8b..2e2ea5886d1c 100644 --- a/lotuswordpro/source/filter/lwpdlvlist.cxx +++ b/lotuswordpro/source/filter/lwpdlvlist.cxx @@ -142,7 +142,7 @@ void LwpDLNFPVList::ReadPropertyList(LwpObjectStream* pObjStrm) m_bHasProperties = pObjStrm->QuickReaduInt8() != 0; if (m_bHasProperties) { - m_pPropList = new LwpPropList; + m_pPropList.reset( new LwpPropList ); m_pPropList->Read(pObjStrm); } } @@ -152,10 +152,6 @@ void LwpDLNFPVList::ReadPropertyList(LwpObjectStream* pObjStrm) **/ LwpDLNFPVList::~LwpDLNFPVList() { - if(m_pPropList) - { - delete m_pPropList; - } } /** |