summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThorsten Behrens <tbehrens@suse.com>2012-11-08 00:35:02 +0100
committerThorsten Behrens <tbehrens@suse.com>2012-11-08 00:55:18 +0100
commitb668d3aaf5690bd067c0ed283e9492ae576117f9 (patch)
treea8ee048cb08c7d01c28bd60991b320c442d77b7e
parent7f071c1067c7fa675e741a9050bcbb1d13f0a5ca (diff)
Fix white line at the bottom during slideshow.
This partially reverts 0a5b49e7199198974113dc2e8b68257b881fb9fb, which affects _all_ Impress views, including slideshow. Change-Id: I297c09bc3c6466e83acfd423fc24d75da9df2833
-rw-r--r--sd/source/ui/view/ViewShellBase.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/sd/source/ui/view/ViewShellBase.cxx b/sd/source/ui/view/ViewShellBase.cxx
index 414dc5d736ab..ae9c4e4e371d 100644
--- a/sd/source/ui/view/ViewShellBase.cxx
+++ b/sd/source/ui/view/ViewShellBase.cxx
@@ -1303,11 +1303,9 @@ void ViewShellBase::Implementation::ResizePixel (
rOrigin.X()+aBaseBorder.Left(),
rOrigin.Y()+aBaseBorder.Top());
- // -1 (below) is there to let one line of _pFrame->GetWindow() visible,
- // so that it plays better with the overall look
Size aViewWindowSize (
rSize.Width() - aBaseBorder.Left() - aBaseBorder.Right(),
- rSize.Height() - aBaseBorder.Top() - aBaseBorder.Bottom() - 1);
+ rSize.Height() - aBaseBorder.Top() - aBaseBorder.Bottom());
mpViewWindow->SetPosSizePixel(aViewWindowPosition, aViewWindowSize);
maClientArea = Rectangle(Point(0,0), aViewWindowSize);