summaryrefslogtreecommitdiff
path: root/drawinglayer/source/primitive3d/groupprimitive3d.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'drawinglayer/source/primitive3d/groupprimitive3d.cxx')
-rw-r--r--drawinglayer/source/primitive3d/groupprimitive3d.cxx11
1 files changed, 4 insertions, 7 deletions
diff --git a/drawinglayer/source/primitive3d/groupprimitive3d.cxx b/drawinglayer/source/primitive3d/groupprimitive3d.cxx
index 7a6254b00e72..c50e29f04d8c 100644
--- a/drawinglayer/source/primitive3d/groupprimitive3d.cxx
+++ b/drawinglayer/source/primitive3d/groupprimitive3d.cxx
@@ -19,20 +19,17 @@
#include <drawinglayer/primitive3d/groupprimitive3d.hxx>
#include <drawinglayer/primitive3d/drawinglayer_primitivetypes3d.hxx>
-
-
-using namespace com::sun::star;
+#include <utility>
namespace drawinglayer::primitive3d
{
- GroupPrimitive3D::GroupPrimitive3D( const Primitive3DContainer& rChildren )
- : BasePrimitive3D(),
- maChildren(rChildren)
+ GroupPrimitive3D::GroupPrimitive3D( Primitive3DContainer aChildren )
+ : maChildren(std::move(aChildren))
{
}
- /** The compare opertator uses the Sequence::==operator, so only checking if
+ /** The compare operator uses the Sequence::==operator, so only checking if
the references are equal. All non-equal references are interpreted as
non-equal.
*/