diff options
Diffstat (limited to 'include/vcl/idle.hxx')
-rw-r--r-- | include/vcl/idle.hxx | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/include/vcl/idle.hxx b/include/vcl/idle.hxx index 8d79c2f92527..707cc1248872 100644 --- a/include/vcl/idle.hxx +++ b/include/vcl/idle.hxx @@ -45,21 +45,8 @@ public: Idle( const sal_Char *pDebugName = nullptr ); virtual void Start() override; - - /** - * Convenience function for more readable code - * - * TODO: actually rename it and it's instances to SetInvokeHandler - */ - inline void SetIdleHdl( const Link<Idle *, void>& rLink ); }; -inline void Idle::SetIdleHdl( const Link<Idle*, void> &rLink ) -{ - SetInvokeHandler( Link<Timer*, void>( rLink.GetInstance(), - reinterpret_cast< Link<Timer*, void>::Stub* >( rLink.GetFunction()) ) ); -} - #endif // INCLUDED_VCL_IDLE_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |