diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-02-22 11:11:35 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-02-22 18:03:06 +0100 |
commit | bacd06e9270ab64fa2c8243181c19c977d2bb649 (patch) | |
tree | 962b5d40f84472eb0dfc65c97dedb4fb50a9c4dc | |
parent | 6f4ad52d4cad5093e72120decea31066a419665f (diff) |
loplugin:unusedfields in slideshow
Change-Id: I98d599c40e36906022fc5d0b1d992a42c3d784ce
Reviewed-on: https://gerrit.libreoffice.org/68201
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
-rw-r--r-- | slideshow/source/engine/slideshowimpl.cxx | 12 |
1 files changed, 4 insertions, 8 deletions
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(); } } |