summaryrefslogtreecommitdiff
path: root/include/vcl
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2015-03-11 13:10:34 +0000
committerMichael Meeks <michael.meeks@collabora.com>2015-03-11 13:11:19 +0000
commit50d961ebf107bfd3e3a557c4da75bfec2a463408 (patch)
treef6abb1a1b2c7bf1c679525eef0f2c72412f5eab1 /include/vcl
parent22cd725fd66f8299f23367a2eac7aaa403ed74aa (diff)
vcl timers: avoid crash initializing too early.
We need the default instance created first. Change-Id: I95f51e9ec5d9827f2b1b53bcadb1f43c9e637edd
Diffstat (limited to 'include/vcl')
-rw-r--r--include/vcl/timer.hxx2
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();