[PATCH] always use the *real* visibility of the SwScrollbar
Ivan Timofeev
timofeev.i.s at gmail.com
Thu Feb 9 09:06:06 PST 2012
---
sw/source/ui/uiview/viewport.cxx | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/sw/source/ui/uiview/viewport.cxx b/sw/source/ui/uiview/viewport.cxx
index 2591b50..0e09076 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 );
--
1.7.8.3
--------------060008070009000501030303--
More information about the LibreOffice
mailing list