diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-06-04 14:30:16 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-06-11 08:25:50 +0200 |
commit | ee28d75d495c9e115397e0825b14bd3cbf67d5f3 (patch) | |
tree | 8e306c6c8087771850c9a23e3876bc2bf398e68e /include | |
parent | b2c9f0045b62829d09607bb69cd6480ea18b6c25 (diff) |
loplugin:useuniqueptr in Svx3DWin
Change-Id: I529a486b7b60306293089b776202810f84ab0126
Reviewed-on: https://gerrit.libreoffice.org/55516
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/svx/float3d.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/svx/float3d.hxx b/include/svx/float3d.hxx index b79255a67b5d..7529fddec56a 100644 --- a/include/svx/float3d.hxx +++ b/include/svx/float3d.hxx @@ -170,14 +170,14 @@ private: ViewType3D eViewType; // Model, Page, View etc. for favourites - FmFormModel* pModel; + std::unique_ptr<FmFormModel> pModel; VclPtr<VirtualDevice> pVDev; SfxBindings* pBindings; - Svx3DCtrlItem* pControllerItem; + std::unique_ptr<Svx3DCtrlItem> pControllerItem; - SvxConvertTo3DItem* pConvertTo3DItem; - SvxConvertTo3DItem* pConvertTo3DLatheItem; + std::unique_ptr<SvxConvertTo3DItem> pConvertTo3DItem; + std::unique_ptr<SvxConvertTo3DItem> pConvertTo3DLatheItem; std::unique_ptr<Svx3DWinImpl> mpImpl; MapUnit ePoolUnit; |