diff options
author | Noel Grandin <noel@peralex.com> | 2016-06-27 15:08:50 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-06-28 11:21:17 +0000 |
commit | 48a8d6d8434908690bc2a51d27f1051bd550c9b0 (patch) | |
tree | 066f8fc9753bdba62f87f205baface6e729857bf /sdext/source | |
parent | f7d6f3e4e3fda3cd4936880918e2831246634a3e (diff) |
loplugin:singlevalfields in various
Change-Id: Ia0d8f463a4dba9ec63aa0159441e3e607dd3bf5e
Reviewed-on: https://gerrit.libreoffice.org/26738
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sdext/source')
-rw-r--r-- | sdext/source/presenter/PresenterSlideShowView.cxx | 5 | ||||
-rw-r--r-- | sdext/source/presenter/PresenterSlideShowView.hxx | 1 |
2 files changed, 2 insertions, 4 deletions
diff --git a/sdext/source/presenter/PresenterSlideShowView.cxx b/sdext/source/presenter/PresenterSlideShowView.cxx index 65dae40f4524..60af7c95696c 100644 --- a/sdext/source/presenter/PresenterSlideShowView.cxx +++ b/sdext/source/presenter/PresenterSlideShowView.cxx @@ -75,7 +75,6 @@ PresenterSlideShowView::PresenterSlideShowView ( mnPageAspectRatio(28.0/21.0), maBroadcaster(m_aMutex), mpBackground(), - mbIsInModifyNotification(false), mbIsForcedPaintPending(false), mbIsPaintPending(true), msClickToExitPresentationText(), @@ -362,13 +361,13 @@ geometry::AffineMatrix2D SAL_CALL PresenterSlideShowView::getTransformation() // optimizations the avoid updates when the transformation is // unchanged (when the window size changes then due to the constant // aspect ratio the size of the preview may remain the same while - // the position changes. The position, however, is rapresented by + // the position changes. The position, however, is represented by // the position of the view window. This transformation is given // relative to the view window and therefore does not contain the // position.) const awt::Rectangle aWindowBox = mxViewWindow->getPosSize(); return geometry::AffineMatrix2D( - aWindowBox.Width-1, 0, (mbIsInModifyNotification ? 1 : 0), + aWindowBox.Width-1, 0, 0, 0, aWindowBox.Height-1, 0); } else diff --git a/sdext/source/presenter/PresenterSlideShowView.hxx b/sdext/source/presenter/PresenterSlideShowView.hxx index e30e2d9df896..bfd5473f4270 100644 --- a/sdext/source/presenter/PresenterSlideShowView.hxx +++ b/sdext/source/presenter/PresenterSlideShowView.hxx @@ -235,7 +235,6 @@ private: SharedBitmapDescriptor mpBackground; - bool mbIsInModifyNotification; bool mbIsForcedPaintPending; bool mbIsPaintPending; OUString msClickToExitPresentationText; |