summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorXisco Fauli <anistenis@gmail.com>2016-05-29 21:08:19 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-06-03 06:19:37 +0000
commitd0879b721d8c429248f9da7ce02c6c71327e2954 (patch)
tree91fc0a37b317b000923ef605d1e7a9c37f6f6c87 /include
parenta6593e7fd3660b806864911c219903608c0c5b59 (diff)
tdf#89329: use unique_ptr for pImpl in imageitm
Change-Id: I935da01bd03a9812facf30e1d45da1c4949188ed Reviewed-on: https://gerrit.libreoffice.org/25633 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/svl/imageitm.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/svl/imageitm.hxx b/include/svl/imageitm.hxx
index bfe972ed5442..d19c8be282de 100644
--- a/include/svl/imageitm.hxx
+++ b/include/svl/imageitm.hxx
@@ -22,11 +22,12 @@
#include <svl/svldllapi.h>
#include <svl/intitem.hxx>
+#include <memory>
struct SfxImageItem_Impl;
class SVL_DLLPUBLIC SfxImageItem : public SfxInt16Item
{
- SfxImageItem_Impl* pImp;
+ std::unique_ptr<SfxImageItem_Impl> pImpl;
public:
static SfxPoolItem* CreateDefault();
SfxImageItem( sal_uInt16 nWhich = 0 );