summaryrefslogtreecommitdiff
path: root/vos/source
diff options
context:
space:
mode:
authorMalte Timmermann <Malte.Timmermann@sun.com>2010-07-01 09:13:15 +0200
committerMalte Timmermann <Malte.Timmermann@sun.com>2010-07-01 09:13:15 +0200
commit839a386cb51ba43988142957c091140885a5d3f7 (patch)
treeb25d54f440bb26780d27afa45ab31fa9c98e0af7 /vos/source
parent2b871bd0fc25abc760bd71577ee5e59df6d1b18e (diff)
codecleanup02: #i52551# Removed old stuff: VOS_NAMESPACE, use vos:: directly
Diffstat (limited to 'vos/source')
-rw-r--r--vos/source/pipe.cxx2
-rw-r--r--vos/source/process.cxx2
-rw-r--r--vos/source/signal.cxx2
-rw-r--r--vos/source/thread.cxx2
-rw-r--r--vos/source/timer.cxx22
5 files changed, 15 insertions, 15 deletions
diff --git a/vos/source/pipe.cxx b/vos/source/pipe.cxx
index a7d8e655414d..777d1a76b36b 100644
--- a/vos/source/pipe.cxx
+++ b/vos/source/pipe.cxx
@@ -138,7 +138,7 @@ sal_Bool OPipe::create( const rtl::OUString& strName, TPipeOption Options )
/*****************************************************************************/
sal_Bool OPipe::create( const rtl::OUString& strName,
TPipeOption Options,
- const NAMESPACE_VOS(OSecurity)& rSecurity )
+ const vos::OSecurity& rSecurity )
{
// if this was a valid pipe, decrease reference
if ((m_pPipeRef) && (m_pPipeRef->release() == 0))
diff --git a/vos/source/process.cxx b/vos/source/process.cxx
index 71c8729d9023..59b1af3223d4 100644
--- a/vos/source/process.cxx
+++ b/vos/source/process.cxx
@@ -485,7 +485,7 @@ void OExtCommandLineImpl::init()
namespace
{
- struct lclMutex : public rtl::Static< NAMESPACE_VOS(OMutex), lclMutex > {};
+ struct lclMutex : public rtl::Static< vos::OMutex, lclMutex > {};
}
OExtCommandLineImpl* OExtCommandLine::pExtImpl=0;
diff --git a/vos/source/signal.cxx b/vos/source/signal.cxx
index 1f879f8b225c..eb1b65191918 100644
--- a/vos/source/signal.cxx
+++ b/vos/source/signal.cxx
@@ -35,7 +35,7 @@ using namespace vos;
oslSignalAction vos::signalHandlerFunction_impl(
void * pthis, oslSignalInfo * pInfo)
{
- NAMESPACE_VOS(OSignalHandler)* pThis= (NAMESPACE_VOS(OSignalHandler)*)pthis;
+ vos::OSignalHandler* pThis= (vos::OSignalHandler*)pthis;
return ((oslSignalAction)pThis->signal(pInfo));
}
diff --git a/vos/source/thread.cxx b/vos/source/thread.cxx
index 8b2c8826b753..94cdfbdf970b 100644
--- a/vos/source/thread.cxx
+++ b/vos/source/thread.cxx
@@ -34,7 +34,7 @@ using namespace vos;
void vos::threadWorkerFunction_impl(void * pthis)
{
- NAMESPACE_VOS(OThread)* pThis= (NAMESPACE_VOS(OThread)*)pthis;
+ vos::OThread* pThis= (vos::OThread*)pthis;
// call Handler-Function of OThread-derived class
pThis->run();
diff --git a/vos/source/timer.cxx b/vos/source/timer.cxx
index 1c1e2385b60c..a365415672e9 100644
--- a/vos/source/timer.cxx
+++ b/vos/source/timer.cxx
@@ -41,7 +41,7 @@
class OTimerManagerCleanup;
-class NAMESPACE_VOS(OTimerManager) : public NAMESPACE_VOS(OThread)
+class vos::OTimerManager : public vos::OThread
{
public:
@@ -53,13 +53,13 @@ public:
~OTimerManager();
/// register timer
- sal_Bool SAL_CALL registerTimer(NAMESPACE_VOS(OTimer)* pTimer);
+ sal_Bool SAL_CALL registerTimer(vos::OTimer* pTimer);
/// unregister timer
- sal_Bool SAL_CALL unregisterTimer(NAMESPACE_VOS(OTimer)* pTimer);
+ sal_Bool SAL_CALL unregisterTimer(vos::OTimer* pTimer);
/// lookup timer
- sal_Bool SAL_CALL lookupTimer(const NAMESPACE_VOS(OTimer)* pTimer);
+ sal_Bool SAL_CALL lookupTimer(const vos::OTimer* pTimer);
/// retrieves the "Singleton" TimerManager Instance
static OTimerManager* SAL_CALL getTimerManager();
@@ -77,17 +77,17 @@ protected:
virtual void SAL_CALL onTerminated();
// sorted-queue data
- NAMESPACE_VOS(OTimer)* m_pHead;
+ vos::OTimer* m_pHead;
// List Protection
- NAMESPACE_VOS(OMutex) m_Lock;
+ vos::OMutex m_Lock;
// Signal the insertion of a timer
- NAMESPACE_VOS(OCondition) m_notEmpty;
+ vos::OCondition m_notEmpty;
// Synchronize access to OTimerManager
- static NAMESPACE_VOS(OMutex) m_Access;
+ static vos::OMutex m_Access;
// "Singleton Pattern"
- static NAMESPACE_VOS(OTimerManager)* m_pManager;
+ static vos::OTimerManager* m_pManager;
friend class OTimerManagerCleanup;
@@ -267,8 +267,8 @@ TTimeValue OTimer::getRemainingTime() const
// Timer manager
//
-OMutex NAMESPACE_VOS(OTimerManager)::m_Access;
-OTimerManager* NAMESPACE_VOS(OTimerManager)::m_pManager=0;
+OMutex vos::OTimerManager::m_Access;
+OTimerManager* vos::OTimerManager::m_pManager=0;
OTimerManager::OTimerManager()
{