diff options
author | Xisco Fauli <anistenis@gmail.com> | 2016-05-29 21:15:01 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-06-01 06:54:11 +0000 |
commit | c8ff6e35d6350dace92c8184a03e0524704327d0 (patch) | |
tree | 53e7f9f01457024e698ddd7eed6ad3cb887279cb /include | |
parent | c150ac07873e2861d0b4531fe88648801c9995be (diff) |
tdf#89329: use unique_ptr for pImpl in itempool
Change-Id: Ie0a5e5a16cf4b724ff55b0a89ee0ec803df6eb41
Reviewed-on: https://gerrit.libreoffice.org/25635
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/svl/itempool.hxx | 3 |
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); |