summaryrefslogtreecommitdiff
path: root/vcl/headless
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-03-30 07:50:58 +0200
committerTor Lillqvist <tml@iki.fi>2013-03-30 08:46:23 +0200
commit114b17fc23456347b76c7f100ada693a598e74f3 (patch)
tree887ca8953060e8be0687e360937acbebb57eb29b /vcl/headless
parentd08a58a6845a3423d7d2919e157d1b205d68db51 (diff)
Use more meaningful variable name
Change-Id: I663ab56faf8d13a3f0443706d9dc75bd5969aece
Diffstat (limited to 'vcl/headless')
-rw-r--r--vcl/headless/svpinst.cxx4
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();