diff options
author | Jan-Marek Glogowski <glogow@fbihome.de> | 2017-08-24 18:54:21 +0200 |
---|---|---|
committer | Jan-Marek Glogowski <glogow@fbihome.de> | 2017-09-06 14:40:07 +0200 |
commit | e824a49a1c12533047d6a5ab8544377e8ff29863 (patch) | |
tree | 11186a5286dbb6812e0bf98e37cb6e9e35520c15 /include/vcl | |
parent | 9ac2aad4c1cd0f8d513c02a897da90c42f2fa961 (diff) |
Don't run the OLEObjCache timer for an empty cache
Change-Id: I210f6bdec14491bea6d15bca133011059091f21b
Diffstat (limited to 'include/vcl')
-rw-r--r-- | include/vcl/timer.hxx | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/vcl/timer.hxx b/include/vcl/timer.hxx index d26004cc5312..ad2206f1e41c 100644 --- a/include/vcl/timer.hxx +++ b/include/vcl/timer.hxx @@ -59,11 +59,17 @@ public: void SetTimeout( sal_uInt64 nTimeoutMs ); sal_uInt64 GetTimeout() const { return mnTimeout; } + /** + * Activates the timer task + * + * If the timer is already active, it's reset! + * Check with Task::IsActive() to prevent reset. + */ virtual void Start() override; }; /// An auto-timer is a multi-shot timer re-emitting itself at -/// interval until destroyed. +/// interval until destroyed or stopped. class VCL_DLLPUBLIC AutoTimer : public Timer { public: |