summaryrefslogtreecommitdiff
path: root/sdext/source/presenter/PresenterPaneBorderPainter.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-01-14 11:44:39 +0200
committerNoel Grandin <noel@peralex.com>2016-01-14 11:45:22 +0200
commitb696725cf63788f703cc76ae2bf455574b64bff7 (patch)
tree1dcc9f428beb1b8edf0b14c9ebfcd9135006309d /sdext/source/presenter/PresenterPaneBorderPainter.cxx
parent06d68fb0a14149dbf6580df78d00aee2f545d460 (diff)
loplugin:unusedmethods unused return value in sdext
Change-Id: Ie919a094630da57371b13081ab2f04984dd96c78
Diffstat (limited to 'sdext/source/presenter/PresenterPaneBorderPainter.cxx')
-rw-r--r--sdext/source/presenter/PresenterPaneBorderPainter.cxx8
1 files changed, 2 insertions, 6 deletions
diff --git a/sdext/source/presenter/PresenterPaneBorderPainter.cxx b/sdext/source/presenter/PresenterPaneBorderPainter.cxx
index 6a08ed838d9f..07bbc49e9b3e 100644
--- a/sdext/source/presenter/PresenterPaneBorderPainter.cxx
+++ b/sdext/source/presenter/PresenterPaneBorderPainter.cxx
@@ -326,19 +326,15 @@ bool PresenterPaneBorderPainter::ProvideTheme (const Reference<rendering::XCanva
return bModified;
}
-bool PresenterPaneBorderPainter::ProvideTheme()
+void PresenterPaneBorderPainter::ProvideTheme()
{
if (mpTheme.get() == nullptr)
{
// Create a theme without bitmaps (no canvas => no bitmaps).
- return ProvideTheme(nullptr);
+ ProvideTheme(nullptr);
}
- else
- {
// When there already is a theme then without a canvas we can not
// add anything new.
- return false;
- }
}
void PresenterPaneBorderPainter::SetTheme (const std::shared_ptr<PresenterTheme>& rpTheme)