summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorIvan Timofeev <timofeev.i.s@gmail.com>2012-03-13 17:19:57 +0400
committerIvan Timofeev <timofeev.i.s@gmail.com>2012-03-13 17:31:22 +0400
commitf1040f9fa7e3af5ccc91a4cbc0ff781dd372107d (patch)
tree7efe57552a51a44bde0eecf7d79ac0087f81ebc2 /sw
parent073ea37399a3b9b44e5780c1cf2a6b76e44d8359 (diff)
always use the *real* visibility of the SwScrollbar, part 2
Diffstat (limited to 'sw')
-rw-r--r--sw/source/ui/uiview/viewport.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/uiview/viewport.cxx b/sw/source/ui/uiview/viewport.cxx
index 0e090768b6fd..d6b723d90a84 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;