diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-07-02 22:30:18 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-07-02 22:30:18 +0200 |
commit | 58c0252f372221eb71a669686c34f945533bd530 (patch) | |
tree | 992be1877173cce105fa9568af0a81f16ad49431 /slideshow | |
parent | 10c5d637741dba758f1f3f41ac1347ee55cdf162 (diff) |
loplugin:casttovoid: slideshow
Change-Id: Iaa330dc5cedd31fb3f35e6ebdef62a99900f0ee0
Diffstat (limited to 'slideshow')
6 files changed, 0 insertions, 8 deletions
diff --git a/slideshow/source/engine/animationnodes/basenode.cxx b/slideshow/source/engine/animationnodes/basenode.cxx index 7a7f63518c32..fd09ad74c1f5 100644 --- a/slideshow/source/engine/animationnodes/basenode.cxx +++ b/slideshow/source/engine/animationnodes/basenode.cxx @@ -611,7 +611,6 @@ void BaseNode::end() void BaseNode::notifyDeactivating( const AnimationNodeSharedPtr& rNotifier ) { - (void) rNotifier; // avoid warning OSL_ASSERT( rNotifier->getState() == FROZEN || rNotifier->getState() == ENDED ); // TODO(F1): for end sync functionality, this might indeed be used some day diff --git a/slideshow/source/engine/animationnodes/basenode.hxx b/slideshow/source/engine/animationnodes/basenode.hxx index f91ee217983d..495e03f9ee5c 100644 --- a/slideshow/source/engine/animationnodes/basenode.hxx +++ b/slideshow/source/engine/animationnodes/basenode.hxx @@ -170,7 +170,6 @@ private: bool isTransition( NodeState eFromState, NodeState eToState, bool debugAssert = true ) const { - (void) debugAssert; // avoid warning bool const bRet =((mpStateTransitionTable[eFromState] & eToState) != 0); OSL_ENSURE( !debugAssert || bRet, "### state unreachable!" ); return bRet; diff --git a/slideshow/source/engine/animationnodes/paralleltimecontainer.cxx b/slideshow/source/engine/animationnodes/paralleltimecontainer.cxx index 56cf7e185a39..35e7fb5807bc 100644 --- a/slideshow/source/engine/animationnodes/paralleltimecontainer.cxx +++ b/slideshow/source/engine/animationnodes/paralleltimecontainer.cxx @@ -33,7 +33,6 @@ void ParallelTimeContainer::activate_st() static_cast<std::size_t>(std::count_if( maChildren.begin(), maChildren.end(), std::mem_fn(&AnimationNode::resolve) )); - (void) nResolvedNodes; // avoid warning OSL_ENSURE( nResolvedNodes == maChildren.size(), "### resolving all children failed!" ); diff --git a/slideshow/source/engine/rehearsetimingsactivity.cxx b/slideshow/source/engine/rehearsetimingsactivity.cxx index 861edc70144e..5e66bbc16457 100644 --- a/slideshow/source/engine/rehearsetimingsactivity.cxx +++ b/slideshow/source/engine/rehearsetimingsactivity.cxx @@ -468,7 +468,6 @@ void RehearseTimingsActivity::paint( cppcanvas::CanvasSharedPtr const & canvas ) canvas, metaFile, cppcanvas::Renderer::Parameters() ) ); const bool succ = renderer->draw(); OSL_ASSERT( succ ); - (void)succ; } diff --git a/slideshow/source/engine/slide/layermanager.cxx b/slideshow/source/engine/slide/layermanager.cxx index 702e00513516..1dccc7037ea1 100644 --- a/slideshow/source/engine/slide/layermanager.cxx +++ b/slideshow/source/engine/slide/layermanager.cxx @@ -183,8 +183,6 @@ namespace slideshow void LayerManager::viewChanged( const UnoViewSharedPtr& rView ) { - (void)rView; - // view must be member of mrViews container OSL_ASSERT( std::find(mrViews.begin(), mrViews.end(), diff --git a/slideshow/source/engine/slideview.cxx b/slideshow/source/engine/slideview.cxx index 4d13d8b1d05f..703c1a5d92a7 100644 --- a/slideshow/source/engine/slideview.cxx +++ b/slideshow/source/engine/slideview.cxx @@ -1014,8 +1014,6 @@ void SlideView::_dispose() // XEventListener void SlideView::disposing( lang::EventObject const& evt ) { - (void)evt; - // no deregistration necessary anymore, XView has left: osl::MutexGuard const guard( m_aMutex ); |