summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/svx/checklbx.hxx3
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();