summaryrefslogtreecommitdiff
path: root/slideshow/source/engine
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-09-26 11:23:34 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-09-27 19:35:05 +0200
commit5e1b57b8e6482616a415f995c2fa261d5a189973 (patch)
treeccb43106bbf5faf3ca10706eaa0b255b45c75595 /slideshow/source/engine
parent25cc6dcef22e51c1bfa01e8fbed5046439bb1428 (diff)
loplugin:virtualdead in slideshow
Change-Id: Ie158b76e6d552b1189173e30fbea5a43a774180b Reviewed-on: https://gerrit.libreoffice.org/79640 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'slideshow/source/engine')
-rw-r--r--slideshow/source/engine/slide/slideimpl.cxx5
-rw-r--r--slideshow/source/engine/slideshowimpl.cxx2
2 files changed, 0 insertions, 7 deletions
diff --git a/slideshow/source/engine/slide/slideimpl.cxx b/slideshow/source/engine/slide/slideimpl.cxx
index b23ad397093e..fecbe82df2d1 100644
--- a/slideshow/source/engine/slide/slideimpl.cxx
+++ b/slideshow/source/engine/slide/slideimpl.cxx
@@ -119,7 +119,6 @@ public:
virtual void drawPolygons() const override;
virtual bool isPaintOverlayActive() const override;
virtual void enablePaintOverlay() override;
- virtual void disablePaintOverlay() override;
virtual void update_settings( bool bUserPaintEnabled, RGBColor const& aUserPaintColor, double dUserPaintStrokeWidth ) override;
@@ -795,10 +794,6 @@ void SlideImpl::enablePaintOverlay()
}
}
-void SlideImpl::disablePaintOverlay()
-{
-}
-
void SlideImpl::activatePaintOverlay()
{
if( mbUserPaintOverlayEnabled || !maPolygons.empty() )
diff --git a/slideshow/source/engine/slideshowimpl.cxx b/slideshow/source/engine/slideshowimpl.cxx
index e5bfcc5146be..13d03bf484e4 100644
--- a/slideshow/source/engine/slideshowimpl.cxx
+++ b/slideshow/source/engine/slideshowimpl.cxx
@@ -1543,8 +1543,6 @@ sal_Bool SlideShowImpl::setProperty( beans::PropertyValue const& rProperty )
// disable user paint
maUserPaintColor.reset();
maEventMultiplexer.notifyUserPaintDisabled();
- if( mpCurrentSlide )
- mpCurrentSlide->disablePaintOverlay();
}
resetCursor();