[Libreoffice-commits] .: Branch 'libreoffice-3-5' - sw/source
Jan Holesovsky
kendy at kemper.freedesktop.org
Mon Feb 13 14:10:23 PST 2012
sw/source/ui/uiview/viewport.cxx | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
New commits:
commit 77249060109a68783358af87a2bcdfc4c710d760
Author: Ivan Timofeev <timofeev.i.s at gmail.com>
Date: Thu Feb 9 21:06:06 2012 +0400
always use the *real* visibility of the SwScrollbar
[this is a follow-up of fdo#30788]
Signed-off-by: Jan Holesovsky <kendy at suse.cz>
diff --git a/sw/source/ui/uiview/viewport.cxx b/sw/source/ui/uiview/viewport.cxx
index e4fc725..2ba6b0a 100644
--- a/sw/source/ui/uiview/viewport.cxx
+++ b/sw/source/ui/uiview/viewport.cxx
@@ -838,9 +838,7 @@ void SwView::CalcAndSetBorderPixel( SvBorder &rToFill, sal_Bool /*bInner*/ )
else
rToFill.Right() = nTmp;
}
- //#i32913# in browse mode the visibility of the horizontal scrollbar
- // depends on the content (fixed width tables may require a scrollbar)
- if ( pHScrollbar->IsVisible(pWrtShell->GetViewOptions()->getBrowseMode()) )
+ if ( pHScrollbar->IsVisible(sal_True) )
rToFill.Bottom() = nTmp;
SetBorderPixel( rToFill );
More information about the Libreoffice-commits
mailing list