summaryrefslogtreecommitdiffstats
path: root/lotuswordpro/source/filter/lwpsdwfileloader.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-06-11 17:46:53 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-06-11 17:47:21 +0200
commit608a67ac73a14a563c5f7692d4ca5de28777f290 (patch)
tree74bb9b5ebd32135090057b594a1046fc7ece15a0 /lotuswordpro/source/filter/lwpsdwfileloader.hxx
parentDead code (diff)
downloadcore-608a67ac73a14a563c5f7692d4ca5de28777f290.tar.gz
core-608a67ac73a14a563c5f7692d4ca5de28777f290.zip
Fix memory leaks, by refcounting XFContent
Change-Id: I8c94c63230eec13bf22043ff07f9f480a0463111
Diffstat (limited to 'lotuswordpro/source/filter/lwpsdwfileloader.hxx')
-rw-r--r--lotuswordpro/source/filter/lwpsdwfileloader.hxx10
1 files changed, 7 insertions, 3 deletions
diff --git a/lotuswordpro/source/filter/lwpsdwfileloader.hxx b/lotuswordpro/source/filter/lwpsdwfileloader.hxx
index 3d6e52c9c501..a634eda1a34e 100644
--- a/lotuswordpro/source/filter/lwpsdwfileloader.hxx
+++ b/lotuswordpro/source/filter/lwpsdwfileloader.hxx
@@ -62,11 +62,15 @@
#ifndef INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPSDWFILELOADER_HXX
#define INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPSDWFILELOADER_HXX
-#include <assert.h>
+#include <sal/config.h>
+
+#include <vector>
+
+#include <rtl/ref.hxx>
#include <tools/stream.hxx>
+
#include "lwpheader.hxx"
#include "xfilter/ixfstream.hxx"
-#include <vector>
class XFFrame;
class LwpGraphicObject;
@@ -83,7 +87,7 @@ public:
// void RegisterStyle(void);
// add by ,03/25/2005
- void CreateDrawObjects(std::vector <XFFrame*>* pDrawObjVector);
+ void CreateDrawObjects(std::vector< rtl::Reference<XFFrame> >* pDrawObjVector);
// end add
};