diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-05-31 13:34:38 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-06-04 08:40:55 +0200 |
commit | ad90a73e1e8889dc198b514cddaea4857541ae4f (patch) | |
tree | 21e0b4c9828057ef47007a855de48c93f72c283a /include/svx/imapdlg.hxx | |
parent | 7b833ad64d98a9513a6e8aab0fd7daad47eb9d1d (diff) |
loplugin:useuniqueptr in SvxIMapDlg
Change-Id: I6cbfd9c78b5bb5626a3db9ca0b6e3b51a91859a7
Reviewed-on: https://gerrit.libreoffice.org/55234
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svx/imapdlg.hxx')
-rw-r--r-- | include/svx/imapdlg.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/svx/imapdlg.hxx b/include/svx/imapdlg.hxx index aa2c85496de8..86b5a9ae03be 100644 --- a/include/svx/imapdlg.hxx +++ b/include/svx/imapdlg.hxx @@ -30,6 +30,7 @@ #include <vcl/toolbox.hxx> #include <vcl/status.hxx> #include <svx/svxdllapi.h> +#include <memory> #include <vector> class ImageMap; @@ -112,7 +113,7 @@ class SVX_DLLPUBLIC SvxIMapDlg : public SfxModelessDialog // SfxFloatingWindow sal_uInt16 mnCloseId; VclPtr<IMapWindow> pIMapWnd; - IMapOwnData* pOwnData; + std::unique_ptr<IMapOwnData> pOwnData; void* pCheckObj; SvxIMapDlgItem aIMapItem; |