diff options
author | Ashod Nakashian <ashodnakashian@yahoo.com> | 2015-07-19 19:40:18 -0400 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-09-04 18:43:41 +0000 |
commit | 6d64d2f38d9f6c2f54e05675ecd0709eabf6d8ca (patch) | |
tree | 24d40b7cf724ef0946418c748338287252c24c24 /include/vcl/idle.hxx | |
parent | 27949c810daa4090106cbed360f80869a4813d15 (diff) |
Minor refactoring and cleanup of Scheduler and Timer.
Members are now const-correct.
Replaced compile-time constants with enum.
Refactored common functions from Timer to Scheduler.
Disabled timer-precision unittests as they misfire often.
These changes are non-functional.
Change-Id: I6bb3d9fc402cadd556d9063ed9a4888f114c73d7
Reviewed-on: https://gerrit.libreoffice.org/17977
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'include/vcl/idle.hxx')
-rw-r--r-- | include/vcl/idle.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/vcl/idle.hxx b/include/vcl/idle.hxx index 2e853b788da6..df868f16fd59 100644 --- a/include/vcl/idle.hxx +++ b/include/vcl/idle.hxx @@ -39,8 +39,8 @@ public: void SetIdleHdl( const Link<Idle *, void>& rLink ) { maIdleHdl = rLink; } const Link<Idle *, void>& GetIdleHdl() const { return maIdleHdl; } virtual void Invoke() SAL_OVERRIDE; - virtual bool ReadyForSchedule( bool bTimer ) SAL_OVERRIDE; - virtual sal_uInt64 UpdateMinPeriod( sal_uInt64 nMinPeriod, sal_uInt64 nTime ) SAL_OVERRIDE; + virtual bool ReadyForSchedule( bool bTimer ) const SAL_OVERRIDE; + virtual sal_uInt64 UpdateMinPeriod( sal_uInt64 nMinPeriod, sal_uInt64 nTime ) const SAL_OVERRIDE; Idle& operator=( const Idle& rIdle ); }; |