diff options
author | Jan-Marek Glogowski <glogow@fbihome.de> | 2017-01-19 12:18:52 +0100 |
---|---|---|
committer | Jan-Marek Glogowski <glogow@fbihome.de> | 2017-01-20 10:32:04 +0000 |
commit | 7cf3ae68afb9d3f2f126e544de85f38a18ad3de0 (patch) | |
tree | 48d7e422e21f074095a6a17b1dd3e796ba45444e /include/vcl/idle.hxx | |
parent | 8f29ee6c293a6d72b3cf0b6b735c90ba91fc5607 (diff) |
Apply stricter member access control for Tasks
This disallows changing mbAuto and changing values of
ImplSchedulerData outside of Scheduler / Task functions.
Change-Id: Ia624999bd63190c072eb66427aec38e7ac8cfa1b
Reviewed-on: https://gerrit.libreoffice.org/33317
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
Diffstat (limited to 'include/vcl/idle.hxx')
-rw-r--r-- | include/vcl/idle.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/vcl/idle.hxx b/include/vcl/idle.hxx index 85ea758096a9..8d79c2f92527 100644 --- a/include/vcl/idle.hxx +++ b/include/vcl/idle.hxx @@ -39,6 +39,8 @@ protected: virtual bool IsIdle() const override; virtual sal_uInt64 UpdateMinPeriod( sal_uInt64 nMinPeriod, sal_uInt64 nTimeNow ) const override; + Idle( bool bAuto, const sal_Char *pDebugName = nullptr ); + public: Idle( const sal_Char *pDebugName = nullptr ); |