[Libreoffice-commits] core.git: cppuhelper/source

Stephan Bergmann sbergman at redhat.com
Mon Apr 11 09:04:18 UTC 2016


 cppuhelper/source/component.cxx |   14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

New commits:
commit 5c362058471aad3efff85c6a5d146f6e7baa4583
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Apr 11 11:03:48 2016 +0200

    Fix indentation
    
    Change-Id: Ia043e0a5b7ec9623f6575a83374720be1f3b6b83

diff --git a/cppuhelper/source/component.cxx b/cppuhelper/source/component.cxx
index 1450ad5..ccbf179 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


More information about the Libreoffice-commits mailing list