summaryrefslogtreecommitdiff
path: root/include/drawinglayer/primitive3d/sdrprimitive3d.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-13 10:45:45 +0200
committerNoel Grandin <noel@peralex.com>2016-04-13 13:27:51 +0200
commitecebf3bd99b100382f4bc9242ca8e882f83b275a (patch)
tree07abe24f36323e8905f36a5bb28676ccc5e71a94 /include/drawinglayer/primitive3d/sdrprimitive3d.hxx
parent9fce680e27e57f0539f55c7ecb5c8e1d96029267 (diff)
loplugin:passstuffbyref in drawinglayer
Change-Id: I563c18c35291ced91bc29ab9162c5363ee8b19f9
Diffstat (limited to 'include/drawinglayer/primitive3d/sdrprimitive3d.hxx')
-rw-r--r--include/drawinglayer/primitive3d/sdrprimitive3d.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/drawinglayer/primitive3d/sdrprimitive3d.hxx b/include/drawinglayer/primitive3d/sdrprimitive3d.hxx
index 1dded61f002b..bd8991f78128 100644
--- a/include/drawinglayer/primitive3d/sdrprimitive3d.hxx
+++ b/include/drawinglayer/primitive3d/sdrprimitive3d.hxx
@@ -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;