From e098e2d5bf0f0f9452774c133cca23ba7fbd16df Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 20 Apr 2018 17:08:47 +0200 Subject: loplugin:useuniqueptr in MoreButton and remove unused mpItemList field in ImplMoreButtonData Change-Id: I1eee6958d0f064cec22028399de5fb28e8647617 Reviewed-on: https://gerrit.libreoffice.org/53236 Tested-by: Jenkins Reviewed-by: Noel Grandin --- include/vcl/morebtn.hxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/vcl/morebtn.hxx b/include/vcl/morebtn.hxx index 1ee17a348380..4243a1438045 100644 --- a/include/vcl/morebtn.hxx +++ b/include/vcl/morebtn.hxx @@ -24,13 +24,14 @@ #include #include #include +#include struct ImplMoreButtonData; class VCL_DLLPUBLIC MoreButton : public PushButton { - ImplMoreButtonData* mpMBData; + std::unique_ptr mpMBData; bool mbState; MoreButton( const MoreButton & ) = delete; -- cgit v1.2.3