From 4e2c4bd9228bd0cf973f13dbe4410a2391d06ab8 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sun, 2 Jan 2022 13:43:42 +0200 Subject: loplugin:unusedfields Change-Id: I20a387563a0f65bc9a7149ab0b08b09f1946e9ce Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127867 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sd/source/ui/slideshow/slideshowviewimpl.cxx | 3 +-- sd/source/ui/slideshow/slideshowviewimpl.hxx | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'sd/source/ui') diff --git a/sd/source/ui/slideshow/slideshowviewimpl.cxx b/sd/source/ui/slideshow/slideshowviewimpl.cxx index de12be146e1d..9666e232dccb 100644 --- a/sd/source/ui/slideshow/slideshowviewimpl.cxx +++ b/sd/source/ui/slideshow/slideshowviewimpl.cxx @@ -157,7 +157,6 @@ SlideShowView::SlideShowView( ShowWindow& rOutputWindow, mbIsMouseMotionListener( false ), meAnimationMode( eAnimationMode ), mbFirstPaint( true ), - mbFullScreen( bFullScreen ), mbMousePressedEaten( false ) { mxWindow->addWindowListener( this ); @@ -170,7 +169,7 @@ SlideShowView::SlideShowView( ShowWindow& rOutputWindow, // #i48939# only switch on kind of hacky scroll optimization, when // running fullscreen. this minimizes the probability that other // windows partially cover the show. - if( mbFullScreen ) + if( bFullScreen ) { try { diff --git a/sd/source/ui/slideshow/slideshowviewimpl.hxx b/sd/source/ui/slideshow/slideshowviewimpl.hxx index 4cbb84aadf05..e1bee91ea368 100644 --- a/sd/source/ui/slideshow/slideshowviewimpl.hxx +++ b/sd/source/ui/slideshow/slideshowviewimpl.hxx @@ -189,7 +189,6 @@ private: bool mbIsMouseMotionListener; AnimationMode meAnimationMode; bool mbFirstPaint; - bool mbFullScreen; bool mbMousePressedEaten; css::geometry::IntegerSize2D mTranslationOffset; }; -- cgit