[PATCH] follow-up of fdo#30788: fix showing of unnecessary empty horizontal scrollbar

Ivan Timofeev timofeev.i.s at gmail.com
Sun Jan 29 02:08:54 PST 2012


---
 sw/source/ui/uiview/scroll.cxx |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/sw/source/ui/uiview/scroll.cxx b/sw/source/ui/uiview/scroll.cxx
index 2bf1d6d..8160852 100644
--- a/sw/source/ui/uiview/scroll.cxx
+++ b/sw/source/ui/uiview/scroll.cxx
@@ -131,10 +131,12 @@ void SwScrollbar::AutoShow()
         {
             if(ScrollBar::IsVisible())
                 ScrollBar::Show(sal_False);
+            bVisible = sal_False;
         }
         else if ( !ScrollBar::IsVisible() )
         {
             ScrollBar::Show(sal_True);
+            bVisible = sal_True;
         }
 }
 
-- 
1.7.8.3


--------------070107090408000509080501--


More information about the LibreOffice mailing list