diff options
author | Oliver Bolte <obo@openoffice.org> | 2004-08-12 12:12:15 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2004-08-12 12:12:15 +0000 |
commit | 3fbc4377cf0ff8f845e969956f37c6ecfb528e4c (patch) | |
tree | db9667bec0afeb98faa086b80052317ed51e8279 /sw/source | |
parent | 76bf38fcad8122ce176314c1f7ec39fed8796cc2 (diff) |
INTEGRATION: CWS tune05 (1.5.568); FILE MERGED
2004/07/22 08:17:22 cmc 1.5.568.1: #i30554# SwScrollbar::EnableThumbPos unused
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/ui/uiview/scroll.cxx | 28 |
1 files changed, 2 insertions, 26 deletions
diff --git a/sw/source/ui/uiview/scroll.cxx b/sw/source/ui/uiview/scroll.cxx index 9d7bbf031db8..99f91e81545e 100644 --- a/sw/source/ui/uiview/scroll.cxx +++ b/sw/source/ui/uiview/scroll.cxx @@ -2,9 +2,9 @@ * * $RCSfile: scroll.cxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: vg $ $Date: 2003-04-17 15:48:49 $ + * last change: $Author: obo $ $Date: 2004-08-12 13:12:15 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -131,16 +131,6 @@ void SwScrollbar::ViewPortChgd( const Rectangle &rRect ) AutoShow(); } -void SwScrollbar::EnableThumbPos( BOOL bEnable, const SwRect &rVisArea ) -{ - bThumbEnabled = bEnable; - if ( bEnable ) - { - long nThumb = bHori ? rVisArea.Left() : rVisArea.Top(); - SetThumbPos( nThumb ); - } -} - /*-----------------10/21/97 02:48pm----------------- --------------------------------------------------*/ @@ -163,21 +153,7 @@ void SwScrollbar::SetPosSizePixel( const Point& rNewPos, const Size& rNewSize ) } -/*-----------------10/21/97 04:47pm----------------- ---------------------------------------------------*/ -void SwScrollbar::SetUpdateMode( BOOL bUpdate ) -{ - ScrollBar::SetUpdateMode( bUpdate ); - if(bUpdate && - bVisible != ScrollBar::IsVisible()) - { - if(bAuto) - AutoShow(); - else - ScrollBar::Show(bVisible); - } -} /*-----------------14.04.98 11:38------------------- --------------------------------------------------*/ |