diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-05-05 09:59:27 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-05-05 12:05:38 +0200 |
commit | c9b4c5681194a1cd3297a36d4a1f4e4cc3aac55a (patch) | |
tree | 2cb864a67b556f807ba175507296f7dfc5254944 /include/vcl/idle.hxx | |
parent | 8c4a1663f5d93380268365d35a5581d8065df897 (diff) |
Use typed Idle::SetIdleHdl Link
Change-Id: I189937950325dc4ef663f7f49cb45f38f8537de9
Diffstat (limited to 'include/vcl/idle.hxx')
-rw-r--r-- | include/vcl/idle.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/vcl/idle.hxx b/include/vcl/idle.hxx index 64cd9674f383..b66a8893d023 100644 --- a/include/vcl/idle.hxx +++ b/include/vcl/idle.hxx @@ -26,7 +26,7 @@ class VCL_DLLPUBLIC Idle : public Scheduler { protected: - Link<> maIdleHdl; // Callback Link + Link<Idle *, void> maIdleHdl; // Callback Link public: Idle(); @@ -34,8 +34,8 @@ public: /// Make it possible to associate a callback with this idle handler /// of course, you can also sub-class and override 'Invoke' - void SetIdleHdl( const Link<>& rLink ) { maIdleHdl = rLink; } - const Link<>& GetIdleHdl() const { return maIdleHdl; } + void SetIdleHdl( const Link<Idle *, void>& rLink ) { maIdleHdl = rLink; } + const Link<Idle *, void>& GetIdleHdl() const { return maIdleHdl; } virtual void Invoke() SAL_OVERRIDE; Idle& operator=( const Idle& rIdle ); }; |