diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-04-30 19:13:30 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-05-02 08:26:34 +0200 |
commit | 1c944356f817013353819c6eb4bc5ed86356658d (patch) | |
tree | 60b73b8149eedb93317e6c1b12c4d6cad9227dae /include | |
parent | c4b8edefcf452ad80254b1f76bcfba743b0b486f (diff) |
loplugin:useuniqueptr in SvxCheckListBox
Change-Id: Ib867d42363a500ea5acfc0998dd33657d3a701c3
Reviewed-on: https://gerrit.libreoffice.org/53708
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/svx/checklbx.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/svx/checklbx.hxx b/include/svx/checklbx.hxx index 76540dfd225b..98e955b353df 100644 --- a/include/svx/checklbx.hxx +++ b/include/svx/checklbx.hxx @@ -28,6 +28,7 @@ #include <tools/wintypes.hxx> #include <vcl/event.hxx> #include <vcl/window.hxx> +#include <memory> class Image; class SvLBoxButtonData; @@ -40,7 +41,7 @@ class SVX_DLLPUBLIC SvxCheckListBox : public SvTreeListBox using Window::GetText; private: - SvLBoxButtonData* pCheckButton; + std::unique_ptr<SvLBoxButtonData> pCheckButton; SVX_DLLPRIVATE void Init_Impl(); |