diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-23 13:21:59 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-24 07:57:07 +0100 |
commit | ec02714d6cd5be67d03e333efddb42ab572cae77 (patch) | |
tree | 9e28e8a87c823b39a334830fcb6dfb564a967a08 /slideshow | |
parent | 945a119675788f7c8f0a133ac0271f9340c1653a (diff) |
loplugin:unused-returns in drawinglayer..svx
Change-Id: I033a78cc7fe7d8e5086f1c855c4aa371cc98dc7c
Reviewed-on: https://gerrit.libreoffice.org/48400
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'slideshow')
-rw-r--r-- | slideshow/source/engine/eventmultiplexer.cxx | 4 | ||||
-rw-r--r-- | slideshow/source/inc/eventmultiplexer.hxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/slideshow/source/engine/eventmultiplexer.cxx b/slideshow/source/engine/eventmultiplexer.cxx index 88b64ddd8143..d93aea365871 100644 --- a/slideshow/source/engine/eventmultiplexer.cxx +++ b/slideshow/source/engine/eventmultiplexer.cxx @@ -1127,9 +1127,9 @@ void EventMultiplexer::notifyViewRemoved( const UnoViewSharedPtr& rView ) { return pHandler.lock()->viewRemoved( rView ); } ); } -bool EventMultiplexer::notifyViewChanged( const UnoViewSharedPtr& rView ) +void EventMultiplexer::notifyViewChanged( const UnoViewSharedPtr& rView ) { - return mpImpl->maViewHandlers.applyAll( + mpImpl->maViewHandlers.applyAll( [&rView]( const ViewEventHandlerWeakPtr& pHandler ) { return pHandler.lock()->viewChanged( rView ); } ); } diff --git a/slideshow/source/inc/eventmultiplexer.hxx b/slideshow/source/inc/eventmultiplexer.hxx index 5a34fc08bcd0..209184bc274a 100644 --- a/slideshow/source/inc/eventmultiplexer.hxx +++ b/slideshow/source/inc/eventmultiplexer.hxx @@ -461,7 +461,7 @@ public: @param rView View that has changed */ - bool notifyViewChanged( const UnoViewSharedPtr& rView ); + void notifyViewChanged( const UnoViewSharedPtr& rView ); /** View changed |