summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/control/ScrollHelper.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-09-16 16:56:31 +0200
committerNoel Grandin <noel@peralex.com>2015-09-17 08:19:34 +0200
commit5a91520269cd7a60ab49823401c369428d2d07c0 (patch)
tree3c06383b45780f6be2fd317d2b1bac8d5964e9a7 /dbaccess/source/ui/control/ScrollHelper.cxx
parent39da0a99672d9066dbe417288566d43ed71e24dd (diff)
convert Link<> to typed
Change-Id: Ibb426c6d0cd81ff866c431be8277849e002df57a
Diffstat (limited to 'dbaccess/source/ui/control/ScrollHelper.cxx')
-rw-r--r--dbaccess/source/ui/control/ScrollHelper.cxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/dbaccess/source/ui/control/ScrollHelper.cxx b/dbaccess/source/ui/control/ScrollHelper.cxx
index e463262b51b6..e6270ca7674f 100644
--- a/dbaccess/source/ui/control/ScrollHelper.cxx
+++ b/dbaccess/source/ui/control/ScrollHelper.cxx
@@ -37,19 +37,16 @@ namespace dbaui
Rectangle aScrollArea( Point(0, _rOutputSize.Height() - LISTBOX_SCROLLING_AREA),
Size(_rOutputSize.Width(), LISTBOX_SCROLLING_AREA) );
- Link<> aToCall;
// if pointer in bottom area begin scroll
if( aScrollArea.IsInside(_rPoint) )
- aToCall = m_aUpScroll;
+ m_aUpScroll.Call(NULL);
else
{
aScrollArea.SetPos(Point(0,0));
// if pointer in top area begin scroll
if( aScrollArea.IsInside(_rPoint) )
- aToCall = m_aDownScroll;
+ m_aDownScroll.Call(NULL);
}
- if ( aToCall.IsSet() )
- aToCall.Call( NULL );
}
}