diff options
author | Xisco Fauli <anistenis@gmail.com> | 2016-05-29 21:08:19 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-06-03 06:19:37 +0000 |
commit | d0879b721d8c429248f9da7ce02c6c71327e2954 (patch) | |
tree | 91fc0a37b317b000923ef605d1e7a9c37f6f6c87 /include | |
parent | a6593e7fd3660b806864911c219903608c0c5b59 (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.hxx | 3 |
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 ); |