summaryrefslogtreecommitdiff
path: root/include/drawinglayer/primitive3d/sdrlatheprimitive3d.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/drawinglayer/primitive3d/sdrlatheprimitive3d.hxx')
-rw-r--r--include/drawinglayer/primitive3d/sdrlatheprimitive3d.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/drawinglayer/primitive3d/sdrlatheprimitive3d.hxx b/include/drawinglayer/primitive3d/sdrlatheprimitive3d.hxx
index a26aea5a5cd9..da713c1663fb 100644
--- a/include/drawinglayer/primitive3d/sdrlatheprimitive3d.hxx
+++ b/include/drawinglayer/primitive3d/sdrlatheprimitive3d.hxx
@@ -24,6 +24,7 @@
#include <drawinglayer/primitive3d/sdrprimitive3d.hxx>
#include <basegfx/polygon/b2dpolypolygon.hxx>
+#include <memory>
namespace drawinglayer
@@ -57,7 +58,7 @@ namespace drawinglayer
double mfRotation;
/// decomposition data when ReducedLineGeometry is used, see get3DDecomposition
- geometry::ViewInformation3D* mpLastRLGViewInformation;
+ std::unique_ptr<geometry::ViewInformation3D> mpLastRLGViewInformation;
bool mbSmoothNormals : 1; // Plane self
bool mbSmoothLids : 1; // Front/back