Kaydet (Commit) b9982b51 authored tarafından Noel Grandin's avatar Noel Grandin

loplugin:constparams in slideshow

Change-Id: Ifa9fda35020d456338781879df9fba4c0ee535fd
Reviewed-on: https://gerrit.libreoffice.org/40469Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst 4469b29f
...@@ -580,7 +580,7 @@ AnimationNodeSharedPtr AnimationNodeFactory::createAnimationNode( ...@@ -580,7 +580,7 @@ AnimationNodeSharedPtr AnimationNodeFactory::createAnimationNode(
} }
#if defined(DBG_UTIL) #if defined(DBG_UTIL)
void AnimationNodeFactory::showTree( AnimationNodeSharedPtr& pRootNode ) void AnimationNodeFactory::showTree( AnimationNodeSharedPtr const & pRootNode )
{ {
if( pRootNode ) if( pRootNode )
DEBUG_NODES_SHOWTREE( std::dynamic_pointer_cast<BaseContainerNode>( DEBUG_NODES_SHOWTREE( std::dynamic_pointer_cast<BaseContainerNode>(
......
...@@ -274,7 +274,7 @@ private: ...@@ -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 // fully clear view content to background color
rView->clearAll(); rView->clearAll();
......
...@@ -340,7 +340,7 @@ protected: ...@@ -340,7 +340,7 @@ protected:
return false; // nothing hit return false; // nothing hit
} }
bool sendEvent( ImpShapeEventMap::reverse_iterator& io_rHitShape ) bool sendEvent( ImpShapeEventMap::reverse_iterator const & io_rHitShape )
{ {
// take next event from queue // take next event from queue
const bool bRet( fireSingleEvent( io_rHitShape->second, const bool bRet( fireSingleEvent( io_rHitShape->second,
......
...@@ -50,7 +50,7 @@ namespace slideshow ...@@ -50,7 +50,7 @@ namespace slideshow
#if defined(DBG_UTIL) #if defined(DBG_UTIL)
void showTree( AnimationNodeSharedPtr& pRootNode ); void showTree( AnimationNodeSharedPtr const & pRootNode );
# define SHOW_NODE_TREE(a) AnimationNodeFactory::showTree(a) # define SHOW_NODE_TREE(a) AnimationNodeFactory::showTree(a)
#else #else
# define SHOW_NODE_TREE(a) # define SHOW_NODE_TREE(a)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment