From d72a2899dfd849056c6562bcd08537e1ab52100c Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 15 Jan 2018 16:13:27 +0200 Subject: loplugin:useuniqueptr in VCLXWindow Change-Id: Iefec174c7dc3dbd52bdb9f6d7ebe6c8c42c031e9 --- include/toolkit/awt/vclxwindow.hxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/toolkit') 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 #include +#include #include #include @@ -76,7 +77,7 @@ typedef cppu::ImplInheritanceHelper< VCLXDevice, class TOOLKIT_DLLPUBLIC VCLXWindow : public VCLXWindow_Base { private: - VCLXWindowImpl* mpImpl; + std::unique_ptr mpImpl; UnoPropertyArrayHelper *GetPropHelper(); -- cgit