summaryrefslogtreecommitdiff
path: root/slideshow/source/engine/slide
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-03-08 16:25:21 +0200
committerNoel Grandin <noel@peralex.com>2016-03-09 10:07:46 +0200
commit3a95902b940d32c2bd1e66a537b15357d5c57f16 (patch)
tree3306e5132499f9716904e697e848881373b3850e /slideshow/source/engine/slide
parent435d6d50c3cdb6711942ee40dc2fae1865361845 (diff)
loplugin:constantparam in slideshow
Change-Id: If6c9b8e551d6e6dc857f634e1e8db092541c1031
Diffstat (limited to 'slideshow/source/engine/slide')
-rw-r--r--slideshow/source/engine/slide/shapemanagerimpl.cxx4
-rw-r--r--slideshow/source/engine/slide/shapemanagerimpl.hxx8
-rw-r--r--slideshow/source/engine/slide/slideimpl.cxx2
3 files changed, 6 insertions, 8 deletions
diff --git a/slideshow/source/engine/slide/shapemanagerimpl.cxx b/slideshow/source/engine/slide/shapemanagerimpl.cxx
index f9b62a8eff4b..6b655769e90d 100644
--- a/slideshow/source/engine/slide/shapemanagerimpl.cxx
+++ b/slideshow/source/engine/slide/shapemanagerimpl.cxx
@@ -50,7 +50,7 @@ ShapeManagerImpl::ShapeManagerImpl( EventMultiplexer& rMultiplexer,
{
}
-void ShapeManagerImpl::activate( bool bSlideBackgoundPainted )
+void ShapeManagerImpl::activate()
{
if( !mbEnabled )
{
@@ -72,7 +72,7 @@ void ShapeManagerImpl::activate( bool bSlideBackgoundPainted )
this->cursorChanged( rListener.first, rListener.second );
if( mpLayerManager )
- mpLayerManager->activate( bSlideBackgoundPainted );
+ mpLayerManager->activate( true/*bSlideBackgoundPainted*/ );
}
}
diff --git a/slideshow/source/engine/slide/shapemanagerimpl.hxx b/slideshow/source/engine/slide/shapemanagerimpl.hxx
index 01ea7745557f..63dc1c79254e 100644
--- a/slideshow/source/engine/slide/shapemanagerimpl.hxx
+++ b/slideshow/source/engine/slide/shapemanagerimpl.hxx
@@ -71,13 +71,11 @@ public:
/** Enables event listening.
- @param bSlideBackgoundPainted
- When true, the initial slide content on the background layer
+ The initial slide content on the background layer
is already rendered (e.g. from a previous slide
- transition). When false, slide renders initial content of
- slide.
+ transition).
*/
- void activate( bool bSlideBackgoundPainted );
+ void activate();
/** Disables event listening.
*/
diff --git a/slideshow/source/engine/slide/slideimpl.cxx b/slideshow/source/engine/slide/slideimpl.cxx
index 863b6d2efc0e..ab9aa833271e 100644
--- a/slideshow/source/engine/slide/slideimpl.cxx
+++ b/slideshow/source/engine/slide/slideimpl.cxx
@@ -432,7 +432,7 @@ void SlideImpl::show( bool bSlideBackgoundPainted )
// slide. Also enables LayerManager to record updates. Currently,
// never let LayerManager render initial slide content, use
// buffered slide bitmaps instead.
- mpShapeManager->activate( true );
+ mpShapeManager->activate();
// render slide to screen, if requested