diff options
Diffstat (limited to 'svtools/source/brwbox/datwin.cxx')
-rw-r--r-- | svtools/source/brwbox/datwin.cxx | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/svtools/source/brwbox/datwin.cxx b/svtools/source/brwbox/datwin.cxx index 03b5bc97e0a0..7df9e0ed5a66 100644 --- a/svtools/source/brwbox/datwin.cxx +++ b/svtools/source/brwbox/datwin.cxx @@ -713,24 +713,17 @@ void BrowserScrollBar::Tracking( const TrackingEvent& rTEvt ) aTip += OUString::number(GetRangeMax()); Rectangle aRect(GetPointerPosPixel(), Size(GetTextWidth(aTip), GetTextHeight())); - if ( _nTip ) - Help::UpdateTip( _nTip, this, aRect, aTip ); - else - _nTip = Help::ShowTip( this, aRect, aTip ); + Help::ShowQuickHelp(this, aRect, aTip); _nLastPos = nPos; } ScrollBar::Tracking( rTEvt ); } - void BrowserScrollBar::EndScroll() { - if ( _nTip ) - Help::HideTip( _nTip ); - _nTip = 0; + Help::HideBalloonAndQuickHelp(); ScrollBar::EndScroll(); } - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |