diff options
Diffstat (limited to 'lotuswordpro/source/filter/lwpdlvlist.hxx')
-rw-r--r-- | lotuswordpro/source/filter/lwpdlvlist.hxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lotuswordpro/source/filter/lwpdlvlist.hxx b/lotuswordpro/source/filter/lwpdlvlist.hxx index bf9063c0b150..54a5b5d24030 100644 --- a/lotuswordpro/source/filter/lwpdlvlist.hxx +++ b/lotuswordpro/source/filter/lwpdlvlist.hxx @@ -63,6 +63,7 @@ #include "lwpatomholder.hxx" #include "lwpobj.hxx" +#include <memory> /** * @brief Double Linked Virtual List @@ -119,12 +120,12 @@ public: virtual ~LwpDLNFPVList() override; protected: bool m_bHasProperties; - LwpPropList* m_pPropList; + std::unique_ptr<LwpPropList> m_pPropList; protected: void Read() override; void ReadPropertyList(LwpObjectStream* pObjStrm); public: - LwpPropList* GetPropList() { return m_pPropList; } + LwpPropList* GetPropList() { return m_pPropList.get(); } }; /** |