diff options
author | Jan-Marek Glogowski <glogow@fbihome.de> | 2017-01-29 17:12:25 +0100 |
---|---|---|
committer | Jan-Marek Glogowski <glogow@fbihome.de> | 2017-07-13 12:10:28 +0200 |
commit | 11ffb51b758cd18a2c61d4bfa694f9f031ecd096 (patch) | |
tree | 4ff9890da8805fa5a6a15ab3243eaa556f9ac5d8 /include/vcl/idle.hxx | |
parent | b4cc0f2d3fb9cc85e5ea7b157ec35b01c1868d50 (diff) |
Drop Task::ReadyForSchedule
All relevant information is also provided by UpdateMinPeriod and
the calculations were even duplicated. This also includes dropping
Scheduler::UpdateMinPeriod, as this is now reduced to a simple
comparison and assignment, as we simply ignore larger returned
sleep times.
Change-Id: I13852e3e63daead451bf7fcb98be9b1d44bd7abd
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 cb96c09864c5..18d4e8abaab7 100644 --- a/include/vcl/idle.hxx +++ b/include/vcl/idle.hxx @@ -35,8 +35,8 @@ private: sal_uInt64 GetTimeout() const = delete; protected: - virtual bool ReadyForSchedule( sal_uInt64 nTimeNow ) const override; - virtual sal_uInt64 UpdateMinPeriod( sal_uInt64 nMinPeriod, sal_uInt64 nTimeNow ) const override; + virtual sal_uInt64 UpdateMinPeriod( + sal_uInt64 nMinPeriod, sal_uInt64 nTimeNow ) const override; Idle( bool bAuto, const sal_Char *pDebugName = nullptr ); |