summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cppuhelper/source/component.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/cppuhelper/source/component.cxx b/cppuhelper/source/component.cxx
index 1450ad59f7e7..ccbf1791ed5f 100644
--- a/cppuhelper/source/component.cxx
+++ b/cppuhelper/source/component.cxx
@@ -150,13 +150,13 @@ void OComponentHelper::dispose()
// Remark: It is an error to call dispose more than once
bool bDoDispose = false;
{
- MutexGuard aGuard( rBHelper.rMutex );
- if( !rBHelper.bDisposed && !rBHelper.bInDispose )
- {
- // only one call go into this section
- rBHelper.bInDispose = sal_True;
- bDoDispose = true;
- }
+ MutexGuard aGuard( rBHelper.rMutex );
+ if( !rBHelper.bDisposed && !rBHelper.bInDispose )
+ {
+ // only one call go into this section
+ rBHelper.bInDispose = sal_True;
+ bDoDispose = true;
+ }
}
// Do not hold the mutex because we are broadcasting