summaryrefslogtreecommitdiff
path: root/framework/source/helper/wakeupthread.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'framework/source/helper/wakeupthread.cxx')
-rw-r--r--framework/source/helper/wakeupthread.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/framework/source/helper/wakeupthread.cxx b/framework/source/helper/wakeupthread.cxx
index 8682dcd2ed19..0899611b4c03 100644
--- a/framework/source/helper/wakeupthread.cxx
+++ b/framework/source/helper/wakeupthread.cxx
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -53,7 +53,7 @@ WakeUpThread::WakeUpThread(const css::uno::Reference< css::util::XUpdatable >& x
void SAL_CALL WakeUpThread::run()
{
::osl::Condition aSleeper;
-
+
TimeValue aTime;
aTime.Seconds = 0;
aTime.Nanosec = 25000000; // 25 msec
@@ -62,13 +62,13 @@ void SAL_CALL WakeUpThread::run()
{
aSleeper.reset();
aSleeper.wait(&aTime);
-
+
// SAFE ->
ReadGuard aReadLock(m_aLock);
css::uno::Reference< css::util::XUpdatable > xListener(m_xListener.get(), css::uno::UNO_QUERY);
aReadLock.unlock();
// <- SAFE
-
+
if (xListener.is())
xListener->update();
}