summaryrefslogtreecommitdiff
path: root/slideshow/source/engine
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-01-25 17:49:47 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-01-26 08:01:42 +0100
commit51b5b93092d6231615de470c62494c24e54828a1 (patch)
tree7d1556d834a9f61e0f40f29f318c57328cba67e7 /slideshow/source/engine
parentb9fe4f26eaf1099b8d0907b8d9cbf52c86914466 (diff)
remove some unused local vars
found by a more aggressive variant of loplugin:unusedvariables. This is my first pass, committing the simplest and most obviously unnecessary vars Change-Id: I9676a6e39a101937097788548764506c93811c57 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87414 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'slideshow/source/engine')
-rw-r--r--slideshow/source/engine/opengl/TransitionImpl.cxx2
-rw-r--r--slideshow/source/engine/slide/shapemanagerimpl.cxx1
2 files changed, 1 insertions, 2 deletions
diff --git a/slideshow/source/engine/opengl/TransitionImpl.cxx b/slideshow/source/engine/opengl/TransitionImpl.cxx
index 489bb9f8e47e..5078a8c23bfd 100644
--- a/slideshow/source/engine/opengl/TransitionImpl.cxx
+++ b/slideshow/source/engine/opengl/TransitionImpl.cxx
@@ -790,7 +790,7 @@ std::shared_ptr<OGLTransitionImpl> makeIris()
aLeavingPrimitives.push_back (Slide);
- Primitive irisPart, part;
+ Primitive irisPart;
int i, nSteps = 24, nParts = 7;
double t = 1.0/nSteps, lx = 1, ly = 0, of=2.2, f=1.42;
diff --git a/slideshow/source/engine/slide/shapemanagerimpl.cxx b/slideshow/source/engine/slide/shapemanagerimpl.cxx
index dbc3e0299e1d..b3686acd9e22 100644
--- a/slideshow/source/engine/slide/shapemanagerimpl.cxx
+++ b/slideshow/source/engine/slide/shapemanagerimpl.cxx
@@ -74,7 +74,6 @@ void ShapeManagerImpl::activate()
mrMultiplexer.addShapeListenerHandler( shared_from_this() );
// clone listener map
- uno::Reference<presentation::XShapeEventListener> xDummyListener;
for( const auto& rListener : mrGlobalListenersMap )
listenerAdded( rListener.first );