summaryrefslogtreecommitdiff
path: root/slideshow/source/engine/activities
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-13 15:38:30 +0200
committerNoel Grandin <noel@peralex.com>2016-04-14 09:21:40 +0200
commiteb1603cb5383be7e25f35053dd64f044ead90099 (patch)
tree4be2bf884d118668caf96c645856b890946b54da /slideshow/source/engine/activities
parentcc2f103744fc5e36a2e583442e41bc6b9d0d0b90 (diff)
loplugin:passstuffbyref in slideshow
Change-Id: I6a58315ae63d543053d613a18ff769329f309c32
Diffstat (limited to 'slideshow/source/engine/activities')
-rw-r--r--slideshow/source/engine/activities/activitybase.hxx4
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); }