summaryrefslogtreecommitdiff
path: root/sd/inc/CustomAnimationPreset.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-12 11:54:45 +0200
committerNoel Grandin <noel@peralex.com>2016-04-12 11:54:45 +0200
commit9649026cf50533595c172cd81b96acd45603d86b (patch)
treee7dade92b6674fe445ab36492afc2db02a827f05 /sd/inc/CustomAnimationPreset.hxx
parent6a8873c874db41e8818a74eb6bf2561dfdb296db (diff)
clang-tidy performance-unnecessary-value-param in sd
Change-Id: Id55410931305a9695a001977a5227b430a984e99
Diffstat (limited to 'sd/inc/CustomAnimationPreset.hxx')
-rw-r--r--sd/inc/CustomAnimationPreset.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/inc/CustomAnimationPreset.hxx b/sd/inc/CustomAnimationPreset.hxx
index 8c8ef2fb518c..bd3da582d849 100644
--- a/sd/inc/CustomAnimationPreset.hxx
+++ b/sd/inc/CustomAnimationPreset.hxx
@@ -45,7 +45,7 @@ class CustomAnimationPreset
public:
CustomAnimationPreset( CustomAnimationEffectPtr pEffect );
- void add( CustomAnimationEffectPtr pEffect );
+ void add( const CustomAnimationEffectPtr& pEffect );
SD_DLLPUBLIC css::uno::Reference< css::animations::XAnimationNode > create( const OUString& rstrSubType );
@@ -109,7 +109,7 @@ public:
SAL_DLLPRIVATE const PresetCategoryList& getMotionPathsPresets() const { return maMotionPathsPresets; }
SAL_DLLPRIVATE const PresetCategoryList& getMiscPresets() const { return maMiscPresets; }
- SAL_DLLPRIVATE void changePresetSubType( CustomAnimationEffectPtr pEffect, const OUString& rPresetSubType ) const;
+ SAL_DLLPRIVATE void changePresetSubType( const CustomAnimationEffectPtr& pEffect, const OUString& rPresetSubType ) const;
private:
SAL_DLLPRIVATE void importEffects();