summaryrefslogtreecommitdiff
path: root/slideshow
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-27 08:52:08 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-27 09:38:38 +0200
commitb9982b51f42b1e1ede3b8e95cb2b6f724520e32f (patch)
tree8d4b1345b973bc9e425c7f721e160d1d7ad13dcd /slideshow
parent4469b29faeb8dbf7793a5d81d9c5ddebacf3015f (diff)
loplugin:constparams in slideshow
Change-Id: Ifa9fda35020d456338781879df9fba4c0ee535fd Reviewed-on: https://gerrit.libreoffice.org/40469 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'slideshow')
-rw-r--r--slideshow/source/engine/animationnodes/animationnodefactory.cxx2
-rw-r--r--slideshow/source/engine/slide/slideimpl.cxx2
-rw-r--r--slideshow/source/engine/usereventqueue.cxx2
-rw-r--r--slideshow/source/inc/animationnodefactory.hxx2
4 files changed, 4 insertions, 4 deletions
diff --git a/slideshow/source/engine/animationnodes/animationnodefactory.cxx b/slideshow/source/engine/animationnodes/animationnodefactory.cxx
index 7abb97bae370..cd9594df3e87 100644
--- a/slideshow/source/engine/animationnodes/animationnodefactory.cxx
+++ b/slideshow/source/engine/animationnodes/animationnodefactory.cxx
@@ -580,7 +580,7 @@ AnimationNodeSharedPtr AnimationNodeFactory::createAnimationNode(
}
#if defined(DBG_UTIL)
-void AnimationNodeFactory::showTree( AnimationNodeSharedPtr& pRootNode )
+void AnimationNodeFactory::showTree( AnimationNodeSharedPtr const & pRootNode )
{
if( pRootNode )
DEBUG_NODES_SHOWTREE( std::dynamic_pointer_cast<BaseContainerNode>(
diff --git a/slideshow/source/engine/slide/slideimpl.cxx b/slideshow/source/engine/slide/slideimpl.cxx
index 0f5515a0cae8..8f4ae3001a7b 100644
--- a/slideshow/source/engine/slide/slideimpl.cxx
+++ b/slideshow/source/engine/slide/slideimpl.cxx
@@ -274,7 +274,7 @@ private:
};
-void slideRenderer( SlideImpl* pSlide, const UnoViewSharedPtr& rView )
+void slideRenderer( SlideImpl const * pSlide, const UnoViewSharedPtr& rView )
{
// fully clear view content to background color
rView->clearAll();
diff --git a/slideshow/source/engine/usereventqueue.cxx b/slideshow/source/engine/usereventqueue.cxx
index 6bcfd5c9bfa8..66ddcb716318 100644
--- a/slideshow/source/engine/usereventqueue.cxx
+++ b/slideshow/source/engine/usereventqueue.cxx
@@ -340,7 +340,7 @@ protected:
return false; // nothing hit
}
- bool sendEvent( ImpShapeEventMap::reverse_iterator& io_rHitShape )
+ bool sendEvent( ImpShapeEventMap::reverse_iterator const & io_rHitShape )
{
// take next event from queue
const bool bRet( fireSingleEvent( io_rHitShape->second,
diff --git a/slideshow/source/inc/animationnodefactory.hxx b/slideshow/source/inc/animationnodefactory.hxx
index d7c9162824f4..f23428449255 100644
--- a/slideshow/source/inc/animationnodefactory.hxx
+++ b/slideshow/source/inc/animationnodefactory.hxx
@@ -50,7 +50,7 @@ namespace slideshow
#if defined(DBG_UTIL)
- void showTree( AnimationNodeSharedPtr& pRootNode );
+ void showTree( AnimationNodeSharedPtr const & pRootNode );
# define SHOW_NODE_TREE(a) AnimationNodeFactory::showTree(a)
#else
# define SHOW_NODE_TREE(a)