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(
}
#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>(
......
......@@ -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();
......
......@@ -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,
......
......@@ -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)
......
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