summaryrefslogtreecommitdiff
path: root/comphelper/inc/comphelper/guarding.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'comphelper/inc/comphelper/guarding.hxx')
-rw-r--r--comphelper/inc/comphelper/guarding.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/comphelper/inc/comphelper/guarding.hxx b/comphelper/inc/comphelper/guarding.hxx
index 7593b4846cd6..41807997a136 100644
--- a/comphelper/inc/comphelper/guarding.hxx
+++ b/comphelper/inc/comphelper/guarding.hxx
@@ -2,7 +2,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
@@ -47,17 +47,17 @@ namespace comphelper
template <class MUTEX>
class ORelease
{
- MUTEX& m_rMutex;
+ MUTEX& m_rMutex;
public:
ORelease(MUTEX& _rMutex) : m_rMutex(_rMutex) { _rMutex.release(); }
~ORelease() { m_rMutex.acquire(); }
};
-typedef ORelease< ::osl::Mutex > MutexRelease;
+typedef ORelease< ::osl::Mutex > MutexRelease;
//.........................................................................
-} // namespace comphelper
+} // namespace comphelper
//.........................................................................
#endif // _COMPHELPER_GUARDING_HXX_