diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-11-09 07:44:45 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-11-13 12:27:08 +0100 |
commit | e3290499009492e39e5ddd870d314bb5df494199 (patch) | |
tree | 6ffaa7c199e74791ed1a2aa8a74a0a528509a02f /sd/source/ui/slideshow | |
parent | 8709c643136eed67bc8f04ab9465b4a76085747c (diff) |
loplugin singlevalfields improvement
checking for casting to void* turns out to mask useful stuff, so
remove that and just deal with a few extra false+
Change-Id: Id9700d7ceda90ba8fdb38aa870f13a7ca3acb668
Reviewed-on: https://gerrit.libreoffice.org/63145
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/source/ui/slideshow')
-rw-r--r-- | sd/source/ui/slideshow/slideshowimpl.cxx | 5 | ||||
-rw-r--r-- | sd/source/ui/slideshow/slideshowimpl.hxx | 1 |
2 files changed, 0 insertions, 6 deletions
diff --git a/sd/source/ui/slideshow/slideshowimpl.cxx b/sd/source/ui/slideshow/slideshowimpl.cxx index 7f100e66f1f6..b58f4b486247 100644 --- a/sd/source/ui/slideshow/slideshowimpl.cxx +++ b/sd/source/ui/slideshow/slideshowimpl.cxx @@ -480,7 +480,6 @@ SlideshowImpl::SlideshowImpl( const Reference< XPresentation2 >& xPresentation, , mpDoc(pDoc) , mpParentWindow(pParentWindow) , mpShowWindow(nullptr) -, mpTimeButton(nullptr) , mnRestoreSlide(0) , maPresSize( -1, -1 ) , meAnimationMode(ANIMATIONMODE_SHOW) @@ -670,10 +669,6 @@ void SAL_CALL SlideshowImpl::disposing() } } - if( mpTimeButton ) - mpTimeButton->Hide(); - mpTimeButton.disposeAndClear(); - if( mpShowWindow ) mpShowWindow->Hide(); mpShowWindow.disposeAndClear(); diff --git a/sd/source/ui/slideshow/slideshowimpl.hxx b/sd/source/ui/slideshow/slideshowimpl.hxx index 7a36a8f0a0e8..e8daa04acc1b 100644 --- a/sd/source/ui/slideshow/slideshowimpl.hxx +++ b/sd/source/ui/slideshow/slideshowimpl.hxx @@ -330,7 +330,6 @@ private: VclPtr<vcl::Window> mpParentWindow; VclPtr<sd::ShowWindow> mpShowWindow; - VclPtr<PushButton> mpTimeButton; std::shared_ptr< AnimationSlideController > mpSlideController; |