diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-30 10:25:15 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-02-05 12:04:55 +0100 |
commit | b05a3198f6c1d4713a871c46610dd48bf3979e8a (patch) | |
tree | e4ba068c776c783e16beb6250cc5037860b71532 /include | |
parent | 5c7b954935369cbbd22a6f43be63ac7c0ddbbfdc (diff) |
loplugin:useuniqueptr in E3DModifySceneSnapRectUpdater
Change-Id: Ied2cdfa314f86ff3a25cecd5c13c03d3428966f0
Reviewed-on: https://gerrit.libreoffice.org/49207
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/svx/e3dsceneupdater.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/svx/e3dsceneupdater.hxx b/include/svx/e3dsceneupdater.hxx index ce51518ee689..ad01d667b4f5 100644 --- a/include/svx/e3dsceneupdater.hxx +++ b/include/svx/e3dsceneupdater.hxx @@ -21,6 +21,7 @@ #define INCLUDED_SVX_E3DSCENEUPDATER_HXX #include <svx/svxdllapi.h> +#include <memory> class SdrObject; class E3dScene; @@ -53,7 +54,7 @@ class SVX_DLLPUBLIC E3DModifySceneSnapRectUpdater // the 3d transformation stack at the time of construction, valid when // mpScene is not zero - drawinglayer::geometry::ViewInformation3D* mpViewInformation3D; + std::unique_ptr<drawinglayer::geometry::ViewInformation3D> mpViewInformation3D; public: // the constructor evaluates and sets the members at construction time |