diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-01-24 13:21:42 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-01-25 07:06:20 +0100 |
commit | a258a043c90eaaa4f6a411318e239e805d087d0c (patch) | |
tree | 250eed3d964d3872e02d0d9622ede8b3343ce7ef /svx/source/stbctrls | |
parent | cee62b1068775b7d0bcd2875e9789c8c36c22057 (diff) |
loplugin:makeshared in svl..svx
Change-Id: I067ea2f3cb651fdc5c3d1a09b0c55583618b9d1f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87355
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/stbctrls')
-rw-r--r-- | svx/source/stbctrls/modctrl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/stbctrls/modctrl.cxx b/svx/source/stbctrls/modctrl.cxx index 1faddf461c23..634781f11956 100644 --- a/svx/source/stbctrls/modctrl.cxx +++ b/svx/source/stbctrls/modctrl.cxx @@ -68,7 +68,7 @@ struct SvxModifyControl::ImplData SvxModifyControl::SvxModifyControl( sal_uInt16 _nSlotId, sal_uInt16 _nId, StatusBar& rStb ) : SfxStatusBarControl( _nSlotId, _nId, rStb ), - mxImpl(new ImplData) + mxImpl(std::make_shared<ImplData>()) { mxImpl->maIdle.SetInvokeHandler( LINK(this, SvxModifyControl, OnTimer) ); } |