diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-15 16:13:27 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-17 10:16:35 +0200 |
commit | d72a2899dfd849056c6562bcd08537e1ab52100c (patch) | |
tree | 434fafac4098f5625dbce27a76c02b444b05bec7 /include/toolkit | |
parent | 474b4bbff3af7c6b69554ee332c7f26c68cc440d (diff) |
loplugin:useuniqueptr in VCLXWindow
Change-Id: Iefec174c7dc3dbd52bdb9f6d7ebe6c8c42c031e9
Diffstat (limited to 'include/toolkit')
-rw-r--r-- | include/toolkit/awt/vclxwindow.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/toolkit/awt/vclxwindow.hxx b/include/toolkit/awt/vclxwindow.hxx index 18cd3f0392ca..27be3e102d32 100644 --- a/include/toolkit/awt/vclxwindow.hxx +++ b/include/toolkit/awt/vclxwindow.hxx @@ -44,6 +44,7 @@ #include <tools/link.hxx> #include <stdarg.h> +#include <memory> #include <vector> #include <functional> @@ -76,7 +77,7 @@ typedef cppu::ImplInheritanceHelper< VCLXDevice, class TOOLKIT_DLLPUBLIC VCLXWindow : public VCLXWindow_Base { private: - VCLXWindowImpl* mpImpl; + std::unique_ptr<VCLXWindowImpl> mpImpl; UnoPropertyArrayHelper *GetPropHelper(); |