diff options
author | Noel Grandin <noel@peralex.com> | 2016-08-05 12:03:30 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-08-05 11:56:06 +0000 |
commit | a40278562557828634886924c82f58e215be9756 (patch) | |
tree | cab700911bbcfbf280d962cbcac433e2892a337b /slideshow | |
parent | b4e12269e813338afc895986fbc4f2703cedd016 (diff) |
loplugin:countusersofdefaultparams in sfx2..svgio
Change-Id: Ia01f3a9aa21c88df5fe5242ad4a3c0acbe68fda0
Reviewed-on: https://gerrit.libreoffice.org/27903
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'slideshow')
-rw-r--r-- | slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.cxx | 11 | ||||
-rw-r--r-- | slideshow/source/engine/slideshowimpl.cxx | 2 | ||||
-rw-r--r-- | slideshow/source/inc/hslcolor.hxx | 2 |
3 files changed, 7 insertions, 8 deletions
diff --git a/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.cxx b/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.cxx index 35845c2abd60..a7e398f8221e 100644 --- a/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.cxx +++ b/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.cxx @@ -566,12 +566,11 @@ makeReflectionTransition( const Primitives_t& rLeavingSlidePrimitives, const Primitives_t& rEnteringSlidePrimitives, const Operations_t& rOverallOperations, - const TransitionSettings& rSettings = TransitionSettings()) + const TransitionSettings& rSettings) { return std::make_shared<ReflectionTransition>( TransitionScene(rLeavingSlidePrimitives, rEnteringSlidePrimitives, rOverallOperations, SceneObjects_t()), - rSettings) - ; + rSettings); } } @@ -616,7 +615,7 @@ makeSimpleTransition( const Primitives_t& rEnteringSlidePrimitives, const Operations_t& rOverallOperations, const SceneObjects_t& rSceneObjects, - const TransitionSettings& rSettings = TransitionSettings()) + const TransitionSettings& rSettings) { return std::make_shared<SimpleTransition>( TransitionScene(rLeavingSlidePrimitives, rEnteringSlidePrimitives, rOverallOperations, rSceneObjects), @@ -638,7 +637,7 @@ makeSimpleTransition( const Primitives_t& rLeavingSlidePrimitives, const Primitives_t& rEnteringSlidePrimitives, const SceneObjects_t& rSceneObjects, - const TransitionSettings& rSettings = TransitionSettings()) + const TransitionSettings& rSettings) { return makeSimpleTransition(rLeavingSlidePrimitives, rEnteringSlidePrimitives, Operations_t(), rSceneObjects, rSettings); } @@ -2227,7 +2226,7 @@ void HoneycombTransition::displaySlides_( double nTime, sal_Int32 glLeavingSlide std::shared_ptr<OGLTransitionImpl> makeHoneycombTransition(const Primitives_t& rLeavingSlidePrimitives, const Primitives_t& rEnteringSlidePrimitives, - const TransitionSettings& rSettings = TransitionSettings()) + const TransitionSettings& rSettings) { // The center point should be adjustable by the user, but we have no way to do that in the UI return std::make_shared<HoneycombTransition>(TransitionScene(rLeavingSlidePrimitives, rEnteringSlidePrimitives), diff --git a/slideshow/source/engine/slideshowimpl.cxx b/slideshow/source/engine/slideshowimpl.cxx index 7357054bba35..7f2c54ed152a 100644 --- a/slideshow/source/engine/slideshowimpl.cxx +++ b/slideshow/source/engine/slideshowimpl.cxx @@ -373,7 +373,7 @@ private: /// Resets the current slide transition sound object with a new one: SoundPlayerSharedPtr resetSlideTransitionSound( - uno::Any const& url = uno::Any(), bool bLoopSound = false ); + uno::Any const& url, bool bLoopSound = false ); /// stops the current slide transition sound void stopSlideTransitionSound(); diff --git a/slideshow/source/inc/hslcolor.hxx b/slideshow/source/inc/hslcolor.hxx index 96461c08bace..2c3dca71bd3b 100644 --- a/slideshow/source/inc/hslcolor.hxx +++ b/slideshow/source/inc/hslcolor.hxx @@ -90,7 +90,7 @@ namespace slideshow @param bCCW When true, hue interpolation happens counter-clockwise */ - HSLColor interpolate( const HSLColor& rFrom, const HSLColor& rTo, double t, bool bCCW=true ); + HSLColor interpolate( const HSLColor& rFrom, const HSLColor& rTo, double t, bool bCCW ); } } |