summaryrefslogtreecommitdiff
path: root/configmgr/qa/unit/threading.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'configmgr/qa/unit/threading.cxx')
-rw-r--r--configmgr/qa/unit/threading.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/configmgr/qa/unit/threading.cxx b/configmgr/qa/unit/threading.cxx
index b04f7c3550..68baee1c68 100644
--- a/configmgr/qa/unit/threading.cxx
+++ b/configmgr/qa/unit/threading.cxx
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2008 by Sun Microsystems, Inc.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -53,7 +53,7 @@ class KeyTester : public osl::Thread
virtual ~KeyTester ()
{
}
- virtual void run ()
+ virtual void SAL_CALL run ()
{
testIteration();
while (!m_pCond->check())
@@ -96,7 +96,7 @@ class KeyWriter : public KeyTester
static const char *options[] = { "fish", "chips", "kippers", "bloaters" };
// fprintf (stderr, "set key %d\n",
// (int) osl_getThreadIdentifier(NULL));
- m_pTest->setKey (m_aPath, rtl::OUString::createFromAscii (m_aKey),
+ m_pTest->setKey (m_aPath, rtl::OUString::createFromAscii (m_aKey),
css::uno::makeAny (rtl::OUString::createFromAscii(options[(curOpt++ & 3)])));
} CATCH_FAIL ("setting keys")
}
@@ -156,7 +156,7 @@ void Test::threadTests()
}
}
stop.set();
-
+
for (i = 0; i < numReaders; i++) {
pReaders[i]->join();
delete pReaders[i];
@@ -170,7 +170,7 @@ void Test::threadTests()
}
class RecursiveListener : public cppu::WeakImplHelper1< css::beans::XPropertyChangeListener >
-{
+{
public:
sal_Int32 m_nRecurse;
css::uno::Reference< css::beans::XPropertySet > mxPropSet;
@@ -188,7 +188,7 @@ public:
{
mxPropSet = css::uno::Reference< css::beans::XPropertySet > (
pTest->createView (pPath, true), css::uno::UNO_QUERY_THROW );
-
+
CPPUNIT_ASSERT_MESSAGE ("is prop set", mxPropSet.is());
mxPropSet->addPropertyChangeListener (rtl::OUString::createFromAscii (m_pKey),
css::uno::Reference<css::beans::XPropertyChangeListener>(this));