summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
Diffstat (limited to 'sal')
-rw-r--r--sal/qa/osl/process/osl_Thread.cxx10
1 files changed, 9 insertions, 1 deletions
diff --git a/sal/qa/osl/process/osl_Thread.cxx b/sal/qa/osl/process/osl_Thread.cxx
index c45b554ad3c6..f252556524a3 100644
--- a/sal/qa/osl/process/osl_Thread.cxx
+++ b/sal/qa/osl/process/osl_Thread.cxx
@@ -78,7 +78,15 @@ public:
// A small stopwatch for internal use
// (c) Lars Langhans 29.12.1996 22:10
-StopWatch::StopWatch():m_bIsValid(false),m_bIsRunning(false) {}
+StopWatch::StopWatch()
+ : m_nNanoSec(0)
+ , m_nSeconds(0)
+ , m_bIsValid(false)
+ , m_bIsRunning(false)
+{
+ t1 = {0, 0};
+ t2 = {0, 0};
+}
void StopWatch::start()
{