slideshow/source/engine/slideshowimpl.cxx | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-)
New commits: commit bacd06e9270ab64fa2c8243181c19c977d2bb649 Author: Noel Grandin <noel.gran...@collabora.co.uk> AuthorDate: Fri Feb 22 11:11:35 2019 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Fri Feb 22 18:03:06 2019 +0100 loplugin:unusedfields in slideshow Change-Id: I98d599c40e36906022fc5d0b1d992a42c3d784ce Reviewed-on: https://gerrit.libreoffice.org/68201 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/slideshow/source/engine/slideshowimpl.cxx b/slideshow/source/engine/slideshowimpl.cxx index 9865d7fa5776..3b1cccc8bd75 100644 --- a/slideshow/source/engine/slideshowimpl.cxx +++ b/slideshow/source/engine/slideshowimpl.cxx @@ -430,8 +430,6 @@ private: //changed for the eraser project boost::optional<bool> maEraseAllInk; - boost::optional<bool> maSwitchPenMode; - boost::optional<bool> maSwitchEraserMode; boost::optional<sal_Int32> maEraseInk; //end changed @@ -1582,9 +1580,8 @@ sal_Bool SlideShowImpl::setProperty( beans::PropertyValue const& rProperty ) "setProperty(): User paint overrides invisible mouse" ); if(bSwitchPenMode){ - // Switch to Pen Mode - maSwitchPenMode = bSwitchPenMode; - maEventMultiplexer.notifySwitchPenMode(); + // Switch to Pen Mode + maEventMultiplexer.notifySwitchPenMode(); } } return true; @@ -1598,9 +1595,8 @@ sal_Bool SlideShowImpl::setProperty( beans::PropertyValue const& rProperty ) OSL_ENSURE( mbMouseVisible, "setProperty(): User paint overrides invisible mouse" ); if(bSwitchEraserMode){ - // switch to Eraser mode - maSwitchEraserMode = bSwitchEraserMode; - maEventMultiplexer.notifySwitchEraserMode(); + // switch to Eraser mode + maEventMultiplexer.notifySwitchEraserMode(); } } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits