From b668d3aaf5690bd067c0ed283e9492ae576117f9 Mon Sep 17 00:00:00 2001 From: Thorsten Behrens Date: Thu, 8 Nov 2012 00:35:02 +0100 Subject: Fix white line at the bottom during slideshow. This partially reverts 0a5b49e7199198974113dc2e8b68257b881fb9fb, which affects _all_ Impress views, including slideshow. Change-Id: I297c09bc3c6466e83acfd423fc24d75da9df2833 --- sd/source/ui/view/ViewShellBase.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'sd') 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); -- cgit