summaryrefslogtreecommitdiff
path: root/lotuswordpro/source/filter/lwpproplist.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-06-06 16:49:17 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-06-06 16:49:44 +0200
commit37183595bb3b4d58682f90fd9f6713bedcb852a2 (patch)
tree1ac1fd9d69c0d09ea204173bd77721dc01bbddeb /lotuswordpro/source/filter/lwpproplist.hxx
parent7abe976be5166845c5f43b70a0dfb38608d31356 (diff)
Fix memory leaks, by refcounting LwpObject
Change-Id: I1539597cd5bcabcbf0295d1acc320c503ad53604
Diffstat (limited to 'lotuswordpro/source/filter/lwpproplist.hxx')
-rw-r--r--lotuswordpro/source/filter/lwpproplist.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/lotuswordpro/source/filter/lwpproplist.hxx b/lotuswordpro/source/filter/lwpproplist.hxx
index 21d4cff2beab..2b5270fb35cd 100644
--- a/lotuswordpro/source/filter/lwpproplist.hxx
+++ b/lotuswordpro/source/filter/lwpproplist.hxx
@@ -73,13 +73,14 @@ class LwpPropListElement : public LwpDLVList
{
public:
LwpPropListElement(LwpObjectHeader &objHdr, LwpSvStream *pStrm);
- virtual ~LwpPropListElement(){}
void Read() SAL_OVERRIDE;
bool IsNamed(const OUString& name);
LwpPropListElement* GetNext();
LwpAtomHolder GetValue(){return m_Value;}
LwpAtomHolder GetName(){return m_Name;}
private:
+ virtual ~LwpPropListElement(){}
+
LwpAtomHolder m_Name;
LwpAtomHolder m_Value;
};