summaryrefslogtreecommitdiff
path: root/include/svl
diff options
context:
space:
mode:
Diffstat (limited to 'include/svl')
-rw-r--r--include/svl/itempool.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/svl/itempool.hxx b/include/svl/itempool.hxx
index f3ef335d3aa2..d7b5b73df3e2 100644
--- a/include/svl/itempool.hxx
+++ b/include/svl/itempool.hxx
@@ -24,6 +24,7 @@
#include <svl/poolitem.hxx>
#include <svl/svldllapi.h>
#include <tools/solar.h>
+#include <memory>
class SvStream;
class SfxBroadcaster;
@@ -62,7 +63,7 @@ class SVL_DLLPUBLIC SfxItemPool
friend struct SfxItemPool_Impl;
const SfxItemInfo* pItemInfos;
- SfxItemPool_Impl* pImp;
+ std::unique_ptr<SfxItemPool_Impl> pImpl;
public:
void AddSfxItemPoolUser(SfxItemPoolUser& rNewUser);