diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-01-19 17:58:12 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-01-19 18:15:51 +0100 |
commit | d27fcc53c87fc31fa24cc9446da637d420730b56 (patch) | |
tree | f8fa4769cf5af4adfded23460d90a5c0272c37d6 /sw | |
parent | 6c88dc6f2707808d44a901a93a3978981202706c (diff) |
CID#1157755 and CID#1157756: resource leaks
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/filter/ww8/docxattributeoutput.hxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/docxattributeoutput.hxx b/sw/source/filter/ww8/docxattributeoutput.hxx index 74f76acda3c9..c0dbac14c88d 100644 --- a/sw/source/filter/ww8/docxattributeoutput.hxx +++ b/sw/source/filter/ww8/docxattributeoutput.hxx @@ -39,6 +39,8 @@ #include <oox/export/drawingml.hxx> #include <docxtablestyleexport.hxx> +#include <boost/scoped_ptr.hpp> + class SwGrfNode; class SdrObject; @@ -790,8 +792,8 @@ private: }; - TableReference *m_tableReference; - TableReference *m_oldTableReference; + boost::scoped_ptr<TableReference> m_tableReference; + boost::scoped_ptr<TableReference> m_oldTableReference; std::map< OUString, EmbeddedFontRef > fontFilesMap; // font file url to data |