summaryrefslogtreecommitdiff
path: root/sd/source/ui/animations/CustomAnimationList.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-13 15:37:03 +0200
committerNoel Grandin <noel@peralex.com>2016-04-14 09:21:40 +0200
commitbaf34a9e44fbd39c3657cabd22d871bc804ab12d (patch)
treecd82a6b15c89f5ae510f2e241b3587f6a294dcb5 /sd/source/ui/animations/CustomAnimationList.cxx
parent89fa923a28fb351bb4faad1f69ca94d17f8a5b06 (diff)
loplugin:passstuffbyref in sd
Change-Id: If5a68861451efe025b77f71a20e805b71240b827
Diffstat (limited to 'sd/source/ui/animations/CustomAnimationList.cxx')
-rw-r--r--sd/source/ui/animations/CustomAnimationList.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/animations/CustomAnimationList.cxx b/sd/source/ui/animations/CustomAnimationList.cxx
index 328478a47584..3f5d50249341 100644
--- a/sd/source/ui/animations/CustomAnimationList.cxx
+++ b/sd/source/ui/animations/CustomAnimationList.cxx
@@ -355,7 +355,7 @@ public:
explicit CustomAnimationListEntry( CustomAnimationEffectPtr pEffect );
virtual ~CustomAnimationListEntry();
- CustomAnimationEffectPtr getEffect() const { return mpEffect; }
+ const CustomAnimationEffectPtr& getEffect() const { return mpEffect; }
private:
CustomAnimationEffectPtr mpEffect;