diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-05-31 10:49:18 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-06-04 11:27:28 +0200 |
commit | 514d7d41ae867bedcdf3df7831a69e7a66e94a78 (patch) | |
tree | 8b108bf5d95bcdb3d9ec6a355f4efa5dc36489f2 /include | |
parent | 6798473388f9a4b9f2d1c64e89d540d7e15e3584 (diff) |
loplugin:useuniqueptr in SvxRectCtl
Change-Id: I99b95cec1985ea5b89d705df1a22a95b2b072008
Reviewed-on: https://gerrit.libreoffice.org/55228
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/svx/dlgctrl.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/svx/dlgctrl.hxx b/include/svx/dlgctrl.hxx index d8be686c2bea..9001543a0013 100644 --- a/include/svx/dlgctrl.hxx +++ b/include/svx/dlgctrl.hxx @@ -29,6 +29,7 @@ #include <svx/xtable.hxx> #include <rtl/ref.hxx> #include <o3tl/typed_flags_set.hxx> +#include <memory> #include <array> class XOBitmap; @@ -97,7 +98,7 @@ protected: Point aPtLB, aPtMB, aPtRB; Point aPtNew; RectPoint eRP, eDefRP; - BitmapEx* pBitmap; + std::unique_ptr<BitmapEx> pBitmap; CTL_STATE m_nState; bool mbUpdateForeground : 1; |