summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2004-11-09 15:48:50 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2004-11-09 15:48:50 +0000
commit19effb6668248e2797d657787c5192b84439ea4f (patch)
tree7403c7ddcc5d925cd31f83a663169607a472e59b /vcl
parent44506d8c2a1ee9b9104ea0ee469f97a4362435e0 (diff)
INTEGRATION: CWS vcl28 (1.8.112); FILE MERGED
2004/10/07 12:03:13 pl 1.8.112.1: #i34578# AnyInput did not report timer events in gtk plugin
Diffstat (limited to 'vcl')
-rw-r--r--vcl/unx/source/app/saltimer.cxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/vcl/unx/source/app/saltimer.cxx b/vcl/unx/source/app/saltimer.cxx
index b4695082e1a9..0c1a71087cbe 100644
--- a/vcl/unx/source/app/saltimer.cxx
+++ b/vcl/unx/source/app/saltimer.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: saltimer.cxx,v $
*
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
- * last change: $Author: hr $ $Date: 2004-05-10 15:57:39 $
+ * last change: $Author: hr $ $Date: 2004-11-09 16:48:50 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -96,20 +96,20 @@ void SalData::Timeout() const
// -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
void SalXLib::StopTimer()
{
- Timeout_.tv_sec = 0;
- Timeout_.tv_usec = 0;
- nTimeoutMS_ = 0;
+ m_aTimeout.tv_sec = 0;
+ m_aTimeout.tv_usec = 0;
+ m_nTimeoutMS = 0;
}
void SalXLib::StartTimer( ULONG nMS )
{
- timeval Timeout (Timeout_); // previous timeout.
- gettimeofday (&Timeout_, 0);
+ timeval Timeout (m_aTimeout); // previous timeout.
+ gettimeofday (&m_aTimeout, 0);
- nTimeoutMS_ = nMS;
- Timeout_ += nTimeoutMS_;
+ m_nTimeoutMS = nMS;
+ m_aTimeout += m_nTimeoutMS;
- if ((Timeout > Timeout_) || (Timeout.tv_sec == 0))
+ if ((Timeout > m_aTimeout) || (Timeout.tv_sec == 0))
{
// Wakeup from previous timeout (or stopped timer).
Wakeup();