summaryrefslogtreecommitdiff
path: root/lotuswordpro/source/filter/explode.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'lotuswordpro/source/filter/explode.hxx')
-rw-r--r--lotuswordpro/source/filter/explode.hxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/lotuswordpro/source/filter/explode.hxx b/lotuswordpro/source/filter/explode.hxx
index 013bb6bc881c..1b8cc587811c 100644
--- a/lotuswordpro/source/filter/explode.hxx
+++ b/lotuswordpro/source/filter/explode.hxx
@@ -57,14 +57,15 @@
#define INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_EXPLODE_HXX
#include <sal/types.h>
+#include <memory>
class SvStream;
class HuffmanTreeNode
{
public:
- HuffmanTreeNode * left;
- HuffmanTreeNode * right;
+ std::unique_ptr<HuffmanTreeNode> left;
+ std::unique_ptr<HuffmanTreeNode> right;
sal_uInt32 value;
explicit HuffmanTreeNode(sal_uInt32 value = 0xffffffff) ;