summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-04-30 19:17:27 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-05-02 08:26:54 +0200
commit18b5b3ae444209b2e4476411194896ae917a2beb (patch)
treecf04b4a9dce9a81a9ab227f9539cf8a47fb4df0d /include
parent1c944356f817013353819c6eb4bc5ed86356658d (diff)
loplugin:useuniqueptr in E3dScene
Change-Id: Ia2de7248406b47539ff40d81491ec1541c0c7bcd Reviewed-on: https://gerrit.libreoffice.org/53709 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/svx/scene3d.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/svx/scene3d.hxx b/include/svx/scene3d.hxx
index c3412eeeef64..57c79e7e1bec 100644
--- a/include/svx/scene3d.hxx
+++ b/include/svx/scene3d.hxx
@@ -24,6 +24,7 @@
#include <tools/b3dtrans.hxx>
#include <svx/svxdllapi.h>
#include <svx/obj3d.hxx>
+#include <memory>
namespace sdr { namespace properties {
class BaseProperties;
@@ -70,7 +71,7 @@ protected:
B3dCamera aCameraSet;
Camera3D aCamera;
- Imp3DDepthRemapper* mp3DDepthRemapper;
+ mutable std::unique_ptr<Imp3DDepthRemapper> mp3DDepthRemapper;
// Flag to determine if only selected objects should be drawn
bool bDrawOnlySelected : 1;