[Libreoffice-commits] core.git: slideshow/source

Noel Grandin noel.grandin at collabora.co.uk
Thu Jul 27 07:39:21 UTC 2017


 slideshow/source/engine/animationnodes/animationnodefactory.cxx |    2 +-
 slideshow/source/engine/slide/slideimpl.cxx                     |    2 +-
 slideshow/source/engine/usereventqueue.cxx                      |    2 +-
 slideshow/source/inc/animationnodefactory.hxx                   |    2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

New commits:
commit b9982b51f42b1e1ede3b8e95cb2b6f724520e32f
Author: Noel Grandin <noel.grandin at collabora.co.uk>
Date:   Thu Jul 27 08:52:08 2017 +0200

    loplugin:constparams in slideshow
    
    Change-Id: Ifa9fda35020d456338781879df9fba4c0ee535fd
    Reviewed-on: https://gerrit.libreoffice.org/40469
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

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)


More information about the Libreoffice-commits mailing list