summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Bosdonnat <cedric.bosdonnat.ooo@free.fr>2012-01-13 12:00:19 +0100
committerCédric Bosdonnat <cedric.bosdonnat.ooo@free.fr>2012-01-13 16:23:14 +0100
commitf80ed35b8b2f12a89dee257b82022141e0486362 (patch)
treebb62636853386d43e45a604069ce0b106c6b28a4
parentcbc1ddba1bbe8843e0b31d39cb5c04f7b6518925 (diff)
fdo#30788: why not showing horizontal scrollbar when needed?
-rw-r--r--sw/source/ui/uiview/scroll.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/sw/source/ui/uiview/scroll.cxx b/sw/source/ui/uiview/scroll.cxx
index cd33e92374ba..2bf1d6d74f5f 100644
--- a/sw/source/ui/uiview/scroll.cxx
+++ b/sw/source/ui/uiview/scroll.cxx
@@ -132,10 +132,7 @@ void SwScrollbar::AutoShow()
if(ScrollBar::IsVisible())
ScrollBar::Show(sal_False);
}
- else if ( !ScrollBar::IsVisible() &&
- (!bHori || nVis) ) //Optimierung fuer Browser.
- //Horizontaler Scrollbar per
- //default aus.
+ else if ( !ScrollBar::IsVisible() )
{
ScrollBar::Show(sal_True);
}