diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2015-03-11 13:10:34 +0000 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-03-11 13:11:19 +0000 |
commit | 50d961ebf107bfd3e3a557c4da75bfec2a463408 (patch) | |
tree | f6abb1a1b2c7bf1c679525eef0f2c72412f5eab1 /include/vcl/timer.hxx | |
parent | vcl timers: avoid crash with vcldemo. (diff) | |
download | core-50d961ebf107bfd3e3a557c4da75bfec2a463408.tar.gz core-50d961ebf107bfd3e3a557c4da75bfec2a463408.zip |
vcl timers: avoid crash initializing too early.
We need the default instance created first.
Change-Id: I95f51e9ec5d9827f2b1b53bcadb1f43c9e637edd
Diffstat (limited to 'include/vcl/timer.hxx')
-rw-r--r-- | include/vcl/timer.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/vcl/timer.hxx b/include/vcl/timer.hxx index c5849a23cf8b..8ab238a293bd 100644 --- a/include/vcl/timer.hxx +++ b/include/vcl/timer.hxx @@ -35,7 +35,7 @@ protected: virtual sal_uInt64 UpdateMinPeriod( sal_uInt64 nMinPeriod, sal_uInt64 nTime ) SAL_OVERRIDE; private: - void InitSystemTimer(); + static void InitSystemTimer(); public: Timer(); |