diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2015-03-11 12:58:42 +0000 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-03-11 12:59:48 +0000 |
commit | 22cd725fd66f8299f23367a2eac7aaa403ed74aa (patch) | |
tree | 10f028ec6f4b35bab6386d52b6bba88c9d0d04ae /include/vcl/timer.hxx | |
parent | correct b0rken logic that accidentally worked nevertheless (diff) | |
download | core-22cd725fd66f8299f23367a2eac7aaa403ed74aa.tar.gz core-22cd725fd66f8299f23367a2eac7aaa403ed74aa.zip |
vcl timers: avoid crash with vcldemo.
The system timer needs earlier and/or more consistent initialization.
Change-Id: I148d98537cc055a091181bd36a654ae35f665aaf
Diffstat (limited to 'include/vcl/timer.hxx')
-rw-r--r-- | include/vcl/timer.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/vcl/timer.hxx b/include/vcl/timer.hxx index d671919f5687..c5849a23cf8b 100644 --- a/include/vcl/timer.hxx +++ b/include/vcl/timer.hxx @@ -34,6 +34,9 @@ protected: virtual bool ReadyForSchedule( bool bTimer ) SAL_OVERRIDE; virtual sal_uInt64 UpdateMinPeriod( sal_uInt64 nMinPeriod, sal_uInt64 nTime ) SAL_OVERRIDE; +private: + void InitSystemTimer(); + public: Timer(); Timer( const Timer& rTimer ); |