diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-05-04 17:28:40 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-05-05 10:21:54 +0200 |
commit | 8cafd08278c0b925aac91ea94d8f907d98f07047 (patch) | |
tree | 1c2b0e57c895511fdc67f8063647cc520ef5eaeb /forms/source | |
parent | 3363f828d63775a11073276dce927b9538b57be6 (diff) |
Use typed Timer::SetTimeoutHdl Link
Change-Id: Iaaf0c93e5b28c0f7dbe4f02eda8beeae30708100
Diffstat (limited to 'forms/source')
-rw-r--r-- | forms/source/component/DatabaseForm.cxx | 3 | ||||
-rw-r--r-- | forms/source/component/DatabaseForm.hxx | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/forms/source/component/DatabaseForm.cxx b/forms/source/component/DatabaseForm.cxx index f91ec082aba9..2e325405c20e 100644 --- a/forms/source/component/DatabaseForm.cxx +++ b/forms/source/component/DatabaseForm.cxx @@ -2633,10 +2633,9 @@ void SAL_CALL ODatabaseForm::reloaded(const EventObject& /*aEvent*/) throw( Runt } -IMPL_LINK_NOARG(ODatabaseForm, OnTimeout) +IMPL_LINK_NOARG_TYPED(ODatabaseForm, OnTimeout, Timer *, void) { reload_impl(true); - return 1; } diff --git a/forms/source/component/DatabaseForm.hxx b/forms/source/component/DatabaseForm.hxx index 4e55aef0d1ef..62c9892e6e30 100644 --- a/forms/source/component/DatabaseForm.hxx +++ b/forms/source/component/DatabaseForm.hxx @@ -537,7 +537,7 @@ private: void impl_construct(); - DECL_LINK( OnTimeout, void* ); + DECL_LINK_TYPED( OnTimeout, Timer*, void ); protected: using OPropertySetHelper::getPropertyValues; }; |