diff options
author | Noel Grandin <noel@peralex.com> | 2016-04-13 15:38:30 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-04-14 09:21:40 +0200 |
commit | eb1603cb5383be7e25f35053dd64f044ead90099 (patch) | |
tree | 4be2bf884d118668caf96c645856b890946b54da /slideshow/source/engine/activities | |
parent | cc2f103744fc5e36a2e583442e41bc6b9d0d0b90 (diff) |
loplugin:passstuffbyref in slideshow
Change-Id: I6a58315ae63d543053d613a18ff769329f309c32
Diffstat (limited to 'slideshow/source/engine/activities')
-rw-r--r-- | slideshow/source/engine/activities/activitybase.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/slideshow/source/engine/activities/activitybase.hxx b/slideshow/source/engine/activities/activitybase.hxx index 50de04542a98..5db55d22485c 100644 --- a/slideshow/source/engine/activities/activitybase.hxx +++ b/slideshow/source/engine/activities/activitybase.hxx @@ -106,9 +106,9 @@ protected: EventQueue& getEventQueue() const { return mrEventQueue; } - AnimatableShapeSharedPtr getShape() const { return mpShape; } + const AnimatableShapeSharedPtr& getShape() const { return mpShape; } - ShapeAttributeLayerSharedPtr getShapeAttributeLayer() const + const ShapeAttributeLayerSharedPtr& getShapeAttributeLayer() const { return mpAttributeLayer; } bool isRepeatCountValid() const { return bool(maRepeats); } |