summaryrefslogtreecommitdiff
path: root/include/osl/getglobalmutex.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/osl/getglobalmutex.hxx')
-rw-r--r--include/osl/getglobalmutex.hxx10
1 files changed, 3 insertions, 7 deletions
diff --git a/include/osl/getglobalmutex.hxx b/include/osl/getglobalmutex.hxx
index 4fbd32a3e4b5..628fe97c98f8 100644
--- a/include/osl/getglobalmutex.hxx
+++ b/include/osl/getglobalmutex.hxx
@@ -22,8 +22,8 @@
#include "osl/mutex.hxx"
-namespace osl {
-
+namespace osl
+{
/** A helper functor for the rtl_Instance template.
See the rtl_Instance template for examples of how this class is used.
@@ -31,12 +31,8 @@ namespace osl {
class GetGlobalMutex
{
public:
- ::osl::Mutex * operator()()
- {
- return ::osl::Mutex::getGlobalMutex();
- }
+ ::osl::Mutex* operator()() { return ::osl::Mutex::getGlobalMutex(); }
};
-
}
#endif // INCLUDED_OSL_GETGLOBALMUTEX_HXX