diff options
author | Ivan Timofeev <timofeev.i.s@gmail.com> | 2012-03-13 17:19:57 +0400 |
---|---|---|
committer | Ivan Timofeev <timofeev.i.s@gmail.com> | 2012-03-13 17:31:22 +0400 |
commit | f1040f9fa7e3af5ccc91a4cbc0ff781dd372107d (patch) | |
tree | 7efe57552a51a44bde0eecf7d79ac0087f81ebc2 /sw | |
parent | 073ea37399a3b9b44e5780c1cf2a6b76e44d8359 (diff) |
always use the *real* visibility of the SwScrollbar, part 2
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/ui/uiview/viewport.cxx | 2 |
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; |