sw/source/ui/uiview/viewport.cxx |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

New commits:
commit 77249060109a68783358af87a2bcdfc4c710d760
Author: Ivan Timofeev <timofeev....@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 <ke...@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 );
_______________________________________________
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to