Kaydet (Commit) ecebf3bd authored tarafından Noel Grandin's avatar Noel Grandin

loplugin:passstuffbyref in drawinglayer

Change-Id: I563c18c35291ced91bc29ab9162c5363ee8b19f9
üst 9fce680e
......@@ -59,7 +59,7 @@ namespace drawinglayer
explicit GroupPrimitive3D(const Primitive3DContainer& rChildren);
/// data read access
Primitive3DContainer getChildren() const { return maChildren; }
const Primitive3DContainer& getChildren() const { return maChildren; }
/// compare operator
virtual bool operator==( const BasePrimitive3D& rPrimitive ) const override;
......
......@@ -107,7 +107,7 @@ namespace drawinglayer
const attribute::StrokeAttribute& rStrokeAttribute);
/// data read access
basegfx::B3DPolygon getB3DPolygon() const { return maPolygon; }
const basegfx::B3DPolygon& getB3DPolygon() const { return maPolygon; }
const attribute::LineAttribute& getLineAttribute() const { return maLineAttribute; }
const attribute::StrokeAttribute& getStrokeAttribute() const { return maStrokeAttribute; }
......
......@@ -72,7 +72,7 @@ namespace drawinglayer
const basegfx::B3DHomMatrix& getTransform() const { return maTransform; }
const basegfx::B2DVector& getTextureSize() const { return maTextureSize; }
const attribute::SdrLineFillShadowAttribute3D& getSdrLFSAttribute() const { return maSdrLFSAttribute; }
const attribute::Sdr3DObjectAttribute getSdr3DObjectAttribute() const { return maSdr3DObjectAttribute; }
const attribute::Sdr3DObjectAttribute& getSdr3DObjectAttribute() const { return maSdr3DObjectAttribute; }
/// compare operator
virtual bool operator==(const BasePrimitive3D& rPrimitive) const override;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment