summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorIvan Timofeev <timofeev.i.s@gmail.com>2012-02-09 21:06:06 +0400
committerCaolán McNamara <caolanm@redhat.com>2012-02-13 14:12:13 +0000
commit2ad3b48ce59723842d77f5eeed4fd4336c9d8362 (patch)
tree102362e3dd167a7675c32f4aab481506c8734f4a /sw
parentf7b2d16b013fce20455a558dc37eb3eb79c5bc0d (diff)
always use the *real* visibility of the SwScrollbar
Diffstat (limited to 'sw')
-rw-r--r--sw/source/ui/uiview/viewport.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/sw/source/ui/uiview/viewport.cxx b/sw/source/ui/uiview/viewport.cxx
index 2591b507f1a1..0e090768b6fd 100644
--- a/sw/source/ui/uiview/viewport.cxx
+++ b/sw/source/ui/uiview/viewport.cxx
@@ -840,9 +840,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 );