summaryrefslogtreecommitdiff
path: root/sdext
diff options
context:
space:
mode:
Diffstat (limited to 'sdext')
-rw-r--r--sdext/source/presenter/PresenterSlideShowView.cxx5
-rw-r--r--sdext/source/presenter/PresenterSlideShowView.hxx1
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;