diff options
author | Noel Grandin <noel@peralex.com> | 2016-04-12 11:54:45 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-04-12 11:54:45 +0200 |
commit | 9649026cf50533595c172cd81b96acd45603d86b (patch) | |
tree | e7dade92b6674fe445ab36492afc2db02a827f05 /sd/inc/CustomAnimationEffect.hxx | |
parent | 6a8873c874db41e8818a74eb6bf2561dfdb296db (diff) |
clang-tidy performance-unnecessary-value-param in sd
Change-Id: Id55410931305a9695a001977a5227b430a984e99
Diffstat (limited to 'sd/inc/CustomAnimationEffect.hxx')
-rw-r--r-- | sd/inc/CustomAnimationEffect.hxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sd/inc/CustomAnimationEffect.hxx b/sd/inc/CustomAnimationEffect.hxx index a8dcbe5c1a42..507bd9fc8fde 100644 --- a/sd/inc/CustomAnimationEffect.hxx +++ b/sd/inc/CustomAnimationEffect.hxx @@ -206,7 +206,7 @@ private: struct stl_CustomAnimationEffect_search_node_predict { stl_CustomAnimationEffect_search_node_predict( const css::uno::Reference< css::animations::XAnimationNode >& xSearchNode ); - bool operator()( CustomAnimationEffectPtr pEffect ) const; + bool operator()( const CustomAnimationEffectPtr& pEffect ) const; const css::uno::Reference< css::animations::XAnimationNode >& mxSearchNode; }; @@ -310,10 +310,10 @@ public: SAL_DLLPRIVATE CustomAnimationTextGroupPtr findGroup( sal_Int32 nGroupId ); CustomAnimationTextGroupPtr createTextGroup( CustomAnimationEffectPtr pEffect, sal_Int32 nTextGrouping, double fTextGroupingAuto, bool bAnimateForm, bool bTextReverse ); - SAL_DLLPRIVATE void setTextGrouping( CustomAnimationTextGroupPtr pTextGroup, sal_Int32 nTextGrouping ); - SAL_DLLPRIVATE void setAnimateForm( CustomAnimationTextGroupPtr pTextGroup, bool bAnimateForm ); - SAL_DLLPRIVATE void setTextGroupingAuto( CustomAnimationTextGroupPtr pTextGroup, double fTextGroupingAuto ); - SAL_DLLPRIVATE void setTextReverse( CustomAnimationTextGroupPtr pTextGroup, bool bAnimateForm ); + SAL_DLLPRIVATE void setTextGrouping( const CustomAnimationTextGroupPtr& pTextGroup, sal_Int32 nTextGrouping ); + SAL_DLLPRIVATE void setAnimateForm( const CustomAnimationTextGroupPtr& pTextGroup, bool bAnimateForm ); + SAL_DLLPRIVATE void setTextGroupingAuto( const CustomAnimationTextGroupPtr& pTextGroup, double fTextGroupingAuto ); + SAL_DLLPRIVATE void setTextReverse( const CustomAnimationTextGroupPtr& pTextGroup, bool bAnimateForm ); SAL_DLLPRIVATE sal_Int32 getSequenceType() const { return mnSequenceType; } @@ -327,7 +327,7 @@ protected: SAL_DLLPRIVATE virtual void implRebuild(); SAL_DLLPRIVATE virtual void reset(); - SAL_DLLPRIVATE void createTextGroupParagraphEffects( CustomAnimationTextGroupPtr pTextGroup, CustomAnimationEffectPtr pEffect, bool bUsed ); + SAL_DLLPRIVATE void createTextGroupParagraphEffects( const CustomAnimationTextGroupPtr& pTextGroup, const CustomAnimationEffectPtr& pEffect, bool bUsed ); SAL_DLLPRIVATE void notify_listeners(); |