summaryrefslogtreecommitdiff
path: root/sd/source/ui/animations/CustomAnimationList.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2015-10-25 17:33:13 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-10-26 05:47:06 +0000
commite6dce260833ecddf0da9c85132665a7759fc1f17 (patch)
tree1deb554cc06bd028335f986303043a5cae757cd2 /sd/source/ui/animations/CustomAnimationList.cxx
parentbebc20c62be2df2cf2741fb82945ce6b631d2fe5 (diff)
cppcheck:noExplicitConstructor
Change-Id: I06f33af242c60e0349417ceab3ca4a6d47cd402d Reviewed-on: https://gerrit.libreoffice.org/19589 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sd/source/ui/animations/CustomAnimationList.cxx')
-rw-r--r--sd/source/ui/animations/CustomAnimationList.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/animations/CustomAnimationList.cxx b/sd/source/ui/animations/CustomAnimationList.cxx
index 9a24a8c3593e..a423945ba3e6 100644
--- a/sd/source/ui/animations/CustomAnimationList.cxx
+++ b/sd/source/ui/animations/CustomAnimationList.cxx
@@ -318,7 +318,7 @@ class CustomAnimationListEntry : public SvTreeListEntry
{
public:
CustomAnimationListEntry();
- CustomAnimationListEntry( CustomAnimationEffectPtr pEffect );
+ explicit CustomAnimationListEntry( CustomAnimationEffectPtr pEffect );
virtual ~CustomAnimationListEntry();
CustomAnimationEffectPtr getEffect() const { return mpEffect; }
@@ -530,7 +530,7 @@ void CustomAnimationList::update( MainSequencePtr pMainSequence )
struct stl_append_effect_func : public std::unary_function<CustomAnimationEffectPtr, void>
{
- stl_append_effect_func( CustomAnimationList& rList ) : mrList( rList ) {}
+ explicit stl_append_effect_func( CustomAnimationList& rList ) : mrList( rList ) {}
void operator()(CustomAnimationEffectPtr pEffect);
CustomAnimationList& mrList;
};