diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-19 09:13:03 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-19 13:26:27 +0100 |
commit | be8c414567f49242164b1fdfb12764b16be355c1 (patch) | |
tree | c1f505272ec27e5e069f5d6964dc4f7b20150a5a /sdext/source/presenter/PresenterWindowManager.cxx | |
parent | be94207ecb88a9005ee6624e354d70c9613d7653 (diff) |
loplugin:unusedmethods also check for functions returning bool
we were previously excluding them
Change-Id: I48a68799b0de60b4995fae541eb363e043d4dd11
Reviewed-on: https://gerrit.libreoffice.org/48167
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sdext/source/presenter/PresenterWindowManager.cxx')
-rw-r--r-- | sdext/source/presenter/PresenterWindowManager.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sdext/source/presenter/PresenterWindowManager.cxx b/sdext/source/presenter/PresenterWindowManager.cxx index 99b71da4dd26..5c206493768a 100644 --- a/sdext/source/presenter/PresenterWindowManager.cxx +++ b/sdext/source/presenter/PresenterWindowManager.cxx @@ -318,7 +318,7 @@ void SAL_CALL PresenterWindowManager::disposing (const lang::EventObject& rEvent } -bool PresenterWindowManager::PaintChildren (const awt::PaintEvent& rEvent) const +void PresenterWindowManager::PaintChildren (const awt::PaintEvent& rEvent) const { // Call windowPaint on all children that lie in or touch the // update rectangle. @@ -368,8 +368,6 @@ bool PresenterWindowManager::PaintChildren (const awt::PaintEvent& rEvent) const OSL_FAIL("paint children failed!"); } } - - return false; } void PresenterWindowManager::SetLayoutMode (const LayoutMode eMode) |