summaryrefslogtreecommitdiff
path: root/slideshow
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-03-04 08:56:11 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-03-04 08:56:11 +0200
commitc9bb48386bad7d2a40e6958883328145ae439cad (patch)
tree8576ed314b2d219fdd96b8c1990f16fb70847a54 /slideshow
parent9865440d217d975206a3f91612f0666312bc8fd8 (diff)
Revert "new loplugin typedefparam"
This reverts commit 9865440d217d975206a3f91612f0666312bc8fd8. This is not ready to land yet, seems like the latest update of the logic reveals a bunch more places I need to fix before it can land.
Diffstat (limited to 'slideshow')
-rw-r--r--slideshow/source/engine/transitions/slidechangebase.hxx2
-rw-r--r--slideshow/source/inc/hslcoloranimation.hxx4
-rw-r--r--slideshow/source/inc/numberanimation.hxx4
3 files changed, 5 insertions, 5 deletions
diff --git a/slideshow/source/engine/transitions/slidechangebase.hxx b/slideshow/source/engine/transitions/slidechangebase.hxx
index 5cf130b5340a..9db000fc1106 100644
--- a/slideshow/source/engine/transitions/slidechangebase.hxx
+++ b/slideshow/source/engine/transitions/slidechangebase.hxx
@@ -132,7 +132,7 @@ protected:
*/
virtual void prepareForRun(
const ViewEntry& rViewEntry,
- const std::shared_ptr<cppcanvas::Canvas>& rDestinationCanvas );
+ const cppcanvas::CanvasSharedPtr& rDestinationCanvas );
/** Called on derived classes to implement actual slide change.
diff --git a/slideshow/source/inc/hslcoloranimation.hxx b/slideshow/source/inc/hslcoloranimation.hxx
index e20cbc8024f5..159c1255e47a 100644
--- a/slideshow/source/inc/hslcoloranimation.hxx
+++ b/slideshow/source/inc/hslcoloranimation.hxx
@@ -46,7 +46,7 @@ namespace slideshow
@param rColor
Current animation value.
*/
- virtual bool operator()( const HSLColor& rColor ) = 0;
+ virtual bool operator()( const ValueType& rColor ) = 0;
/** Request the underlying value for this animation.
@@ -58,7 +58,7 @@ namespace slideshow
for the underlying value, if the animation has actually
been started (via start() call).
*/
- virtual HSLColor getUnderlyingValue() const = 0;
+ virtual ValueType getUnderlyingValue() const = 0;
};
typedef ::std::shared_ptr< HSLColorAnimation > HSLColorAnimationSharedPtr;
diff --git a/slideshow/source/inc/numberanimation.hxx b/slideshow/source/inc/numberanimation.hxx
index ab9e9a3939dd..71a6bc39e2c8 100644
--- a/slideshow/source/inc/numberanimation.hxx
+++ b/slideshow/source/inc/numberanimation.hxx
@@ -48,7 +48,7 @@ namespace slideshow
values will be clipped to the permissible range
internally.
*/
- virtual bool operator()( double x ) = 0;
+ virtual bool operator()( ValueType x ) = 0;
/** Request the underlying value for this animation.
@@ -60,7 +60,7 @@ namespace slideshow
for the underlying value, if the animation has actually
been started (via start() call).
*/
- virtual double getUnderlyingValue() const = 0;
+ virtual ValueType getUnderlyingValue() const = 0;
};
typedef ::std::shared_ptr< NumberAnimation > NumberAnimationSharedPtr;