diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-01-25 15:05:53 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-01-26 08:01:13 +0100 |
commit | b9fe4f26eaf1099b8d0907b8d9cbf52c86914466 (patch) | |
tree | fd80c20323ce7c72303c98a11454f607888d6c86 /sd/source/ui/slideshow/slideshowimpl.cxx | |
parent | de60c73db31ec34ffb2e008829083bb7ddcb3061 (diff) |
rename some local variables
mostly to make the job of my very aggressive unused local vars plugin
easier
Change-Id: Ifc21a920841f8589f8b7e10de39dba6622a5d501
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87399
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/source/ui/slideshow/slideshowimpl.cxx')
-rw-r--r-- | sd/source/ui/slideshow/slideshowimpl.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/slideshow/slideshowimpl.cxx b/sd/source/ui/slideshow/slideshowimpl.cxx index 18b367aece04..74abf278ffc1 100644 --- a/sd/source/ui/slideshow/slideshowimpl.cxx +++ b/sd/source/ui/slideshow/slideshowimpl.cxx @@ -835,7 +835,7 @@ bool SlideshowImpl::startPreview( bool SlideshowImpl::startShow( PresentationSettingsEx const * pPresSettings ) { - const rtl::Reference<SlideshowImpl> this_(this); + const rtl::Reference<SlideshowImpl> xKeepAlive(this); DBG_ASSERT( !mxShow.is(), "sd::SlideshowImpl::startShow(), called twice!" ); if( mxShow.is() ) @@ -1661,7 +1661,7 @@ IMPL_LINK_NOARG(SlideshowImpl, updateHdl, Timer *, void) void SlideshowImpl::updateSlideShow() { // prevent me from deletion when recursing (App::EnableYieldMode does) - const rtl::Reference<SlideshowImpl> this_(this); + const rtl::Reference<SlideshowImpl> xKeepAlive(this); Reference< XSlideShow > xShow( mxShow ); if ( ! xShow.is()) |