diff options
Diffstat (limited to 'vcl/headless')
-rw-r--r-- | vcl/headless/svpinst.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/headless/svpinst.cxx b/vcl/headless/svpinst.cxx index 6d1349072e10..38e077760d1d 100644 --- a/vcl/headless/svpinst.cxx +++ b/vcl/headless/svpinst.cxx @@ -369,13 +369,13 @@ void SvpSalInstance::StopTimer() void SvpSalInstance::StartTimer( sal_uLong nMS ) { - timeval Timeout (m_aTimeout); // previous timeout. + timeval aPrevTimeout (m_aTimeout); gettimeofday (&m_aTimeout, 0); m_nTimeoutMS = nMS; m_aTimeout += m_nTimeoutMS; - if ((Timeout > m_aTimeout) || (Timeout.tv_sec == 0)) + if ((aPrevTimeout > m_aTimeout) || (aPrevTimeout.tv_sec == 0)) { // Wakeup from previous timeout (or stopped timer). Wakeup(); |