From eb1603cb5383be7e25f35053dd64f044ead90099 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 13 Apr 2016 15:38:30 +0200 Subject: loplugin:passstuffbyref in slideshow Change-Id: I6a58315ae63d543053d613a18ff769329f309c32 --- slideshow/source/engine/activities/activitybase.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'slideshow/source/engine/activities') 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); } -- cgit