diff options
author | Noel Grandin <noel@peralex.com> | 2015-08-06 16:49:55 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-08-07 07:20:24 +0200 |
commit | 6343754e310a589cb49e2a1da0cd68472571179d (patch) | |
tree | a0915b9679f3422a6abda3fb2d6917df4edb30f5 /slideshow/source/engine/activities | |
parent | dea885f80a80c6a5839ee5dbf8521487186a9522 (diff) |
cppcheck:noExplicitConstructor
Change-Id: I2717d3d120df8af5b7e9af8d147a57b9f5b5ecbe
Diffstat (limited to 'slideshow/source/engine/activities')
6 files changed, 6 insertions, 6 deletions
diff --git a/slideshow/source/engine/activities/activitybase.hxx b/slideshow/source/engine/activities/activitybase.hxx index 52ac9663a973..62c183f1ebaa 100644 --- a/slideshow/source/engine/activities/activitybase.hxx +++ b/slideshow/source/engine/activities/activitybase.hxx @@ -37,7 +37,7 @@ namespace internal { class ActivityBase : public AnimationActivity { public: - ActivityBase( const ActivityParameters& rParms ); + explicit ActivityBase( const ActivityParameters& rParms ); /// From Disposable interface virtual void dispose() SAL_OVERRIDE; diff --git a/slideshow/source/engine/activities/continuousactivitybase.hxx b/slideshow/source/engine/activities/continuousactivitybase.hxx index 5c72372d06f9..12a30415241b 100644 --- a/slideshow/source/engine/activities/continuousactivitybase.hxx +++ b/slideshow/source/engine/activities/continuousactivitybase.hxx @@ -36,7 +36,7 @@ namespace slideshow class ContinuousActivityBase : public SimpleContinuousActivityBase { public: - ContinuousActivityBase( const ActivityParameters& rParms ); + explicit ContinuousActivityBase( const ActivityParameters& rParms ); using SimpleContinuousActivityBase::perform; diff --git a/slideshow/source/engine/activities/continuouskeytimeactivitybase.hxx b/slideshow/source/engine/activities/continuouskeytimeactivitybase.hxx index 150e83c8fb9c..10b1ece7f3ec 100644 --- a/slideshow/source/engine/activities/continuouskeytimeactivitybase.hxx +++ b/slideshow/source/engine/activities/continuouskeytimeactivitybase.hxx @@ -38,7 +38,7 @@ namespace slideshow class ContinuousKeyTimeActivityBase : public SimpleContinuousActivityBase { public: - ContinuousKeyTimeActivityBase( const ActivityParameters& rParms ); + explicit ContinuousKeyTimeActivityBase( const ActivityParameters& rParms ); using SimpleContinuousActivityBase::perform; diff --git a/slideshow/source/engine/activities/discreteactivitybase.hxx b/slideshow/source/engine/activities/discreteactivitybase.hxx index 530cb7a48ac6..165e9c394a8d 100644 --- a/slideshow/source/engine/activities/discreteactivitybase.hxx +++ b/slideshow/source/engine/activities/discreteactivitybase.hxx @@ -38,7 +38,7 @@ namespace slideshow class DiscreteActivityBase : public ActivityBase { public: - DiscreteActivityBase( const ActivityParameters& rParms ); + explicit DiscreteActivityBase( const ActivityParameters& rParms ); /** Hook for derived classes. diff --git a/slideshow/source/engine/activities/interpolation.hxx b/slideshow/source/engine/activities/interpolation.hxx index 6effd085e0a3..2418f59c6d10 100644 --- a/slideshow/source/engine/activities/interpolation.hxx +++ b/slideshow/source/engine/activities/interpolation.hxx @@ -88,7 +88,7 @@ namespace slideshow /// Specialization for HSLColor, to employ color-specific interpolator template<> struct Interpolator< HSLColor > { - Interpolator( bool bCCW ) : + explicit Interpolator( bool bCCW ) : mbCCW( bCCW ) { } diff --git a/slideshow/source/engine/activities/simplecontinuousactivitybase.hxx b/slideshow/source/engine/activities/simplecontinuousactivitybase.hxx index a0b968e940ce..473082c04304 100644 --- a/slideshow/source/engine/activities/simplecontinuousactivitybase.hxx +++ b/slideshow/source/engine/activities/simplecontinuousactivitybase.hxx @@ -37,7 +37,7 @@ namespace slideshow class SimpleContinuousActivityBase : public ActivityBase { public: - SimpleContinuousActivityBase( const ActivityParameters& rParms ); + explicit SimpleContinuousActivityBase( const ActivityParameters& rParms ); virtual double calcTimeLag() const SAL_OVERRIDE; virtual bool perform() SAL_OVERRIDE; |