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 | Images no longer loaded from resource files (diff) | |
download | core-7cf3ae68afb9d3f2f126e544de85f38a18ad3de0.tar.gz core-7cf3ae68afb9d3f2f126e544de85f38a18ad3de0.zip |
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 ); |