summaryrefslogtreecommitdiff
path: root/svtools/source/brwbox
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-02-17 11:56:18 +0000
committerCaolán McNamara <caolanm@redhat.com>2016-02-17 12:49:10 +0000
commit681294d55b6b4edcdef08982596cb4bcee32e635 (patch)
treee156116c560a9d989ef4ad0b8e43d17847e6b811 /svtools/source/brwbox
parent7decc4193028f27354556a007a99088c1ea0b32e (diff)
gtk3: use native GtkPopover for calc formula prompt, etc
Change-Id: I9aa7e977228780b6273daa03be5e872342414437
Diffstat (limited to 'svtools/source/brwbox')
-rw-r--r--svtools/source/brwbox/datwin.cxx11
-rw-r--r--svtools/source/brwbox/datwin.hxx2
2 files changed, 2 insertions, 11 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: */
diff --git a/svtools/source/brwbox/datwin.hxx b/svtools/source/brwbox/datwin.hxx
index 3eb884e6b9d5..7a218617902a 100644
--- a/svtools/source/brwbox/datwin.hxx
+++ b/svtools/source/brwbox/datwin.hxx
@@ -178,7 +178,6 @@ protected:
class BrowserScrollBar: public ScrollBar
{
- sal_uLong _nTip;
sal_uLong _nLastPos;
VclPtr<BrowserDataWin> _pDataWin;
@@ -186,7 +185,6 @@ public:
BrowserScrollBar( vcl::Window* pParent, WinBits nStyle,
BrowserDataWin *pDataWin )
: ScrollBar( pParent, nStyle ),
- _nTip( 0 ),
_nLastPos( ULONG_MAX ),
_pDataWin( pDataWin )
{}