diff options
Diffstat (limited to 'drawinglayer/source/primitive3d/transformprimitive3d.cxx')
-rw-r--r-- | drawinglayer/source/primitive3d/transformprimitive3d.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drawinglayer/source/primitive3d/transformprimitive3d.cxx b/drawinglayer/source/primitive3d/transformprimitive3d.cxx index 1ddb919bf2e1..c7b926d8dc18 100644 --- a/drawinglayer/source/primitive3d/transformprimitive3d.cxx +++ b/drawinglayer/source/primitive3d/transformprimitive3d.cxx @@ -19,6 +19,7 @@ #include <drawinglayer/primitive3d/transformprimitive3d.hxx> #include <drawinglayer/primitive3d/drawinglayer_primitivetypes3d.hxx> +#include <utility> using namespace com::sun::star; @@ -27,10 +28,10 @@ using namespace com::sun::star; namespace drawinglayer::primitive3d { TransformPrimitive3D::TransformPrimitive3D( - const basegfx::B3DHomMatrix& rTransformation, + basegfx::B3DHomMatrix aTransformation, const Primitive3DContainer& rChildren) : GroupPrimitive3D(rChildren), - maTransformation(rTransformation) + maTransformation(std::move(aTransformation)) { } |