[Libreoffice-commits] .: sw/source

Ivan Timofeev ivantimofeev at kemper.freedesktop.org
Tue Mar 13 06:31:47 PDT 2012


 sw/source/ui/uiview/viewport.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit f1040f9fa7e3af5ccc91a4cbc0ff781dd372107d
Author: Ivan Timofeev <timofeev.i.s at gmail.com>
Date:   Tue Mar 13 17:19:57 2012 +0400

    always use the *real* visibility of the SwScrollbar, part 2

diff --git a/sw/source/ui/uiview/viewport.cxx b/sw/source/ui/uiview/viewport.cxx
index 0e09076..d6b723d 100644
--- a/sw/source/ui/uiview/viewport.cxx
+++ b/sw/source/ui/uiview/viewport.cxx
@@ -833,7 +833,7 @@ void SwView::CalcAndSetBorderPixel( SvBorder &rToFill, sal_Bool /*bInner*/ )
 
     const StyleSettings &rSet = GetEditWin().GetSettings().GetStyleSettings();
     const long nTmp = rSet.GetScrollBarSize();
-    if( pVScrollbar->IsVisible(sal_False) )
+    if( pVScrollbar->IsVisible(sal_True) )
     {
         if(bRightVRuler)
             rToFill.Left() = nTmp;


More information about the Libreoffice-commits mailing list