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

Stephan Bergmann sbergman at redhat.com
Thu Feb 21 07:50:26 PST 2013


 cppu/source/uno/lbmap.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 925e14220ef51ec31604d94ab02d8ae3f37b7d43
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Feb 21 16:50:01 2013 +0100

    osl_atomic_increment/decrement are macros
    
    Change-Id: Ib2d61e436d625ac89defe718d4cc1d866d538397

diff --git a/cppu/source/uno/lbmap.cxx b/cppu/source/uno/lbmap.cxx
index e6892d4..eea8fe8 100644
--- a/cppu/source/uno/lbmap.cxx
+++ b/cppu/source/uno/lbmap.cxx
@@ -205,7 +205,7 @@ static void SAL_CALL mediate_free( uno_Mapping * pMapping )
 static void SAL_CALL mediate_acquire( uno_Mapping * pMapping )
     SAL_THROW(())
 {
-    if (1 == ::osl_atomic_increment(
+    if (1 == osl_atomic_increment(
         & static_cast< uno_Mediate_Mapping * >( pMapping )->nRef ))
     {
         uno_registerMapping(
@@ -219,7 +219,7 @@ static void SAL_CALL mediate_acquire( uno_Mapping * pMapping )
 static void SAL_CALL mediate_release( uno_Mapping * pMapping )
     SAL_THROW(())
 {
-    if (! ::osl_atomic_decrement(
+    if (! osl_atomic_decrement(
         & static_cast< uno_Mediate_Mapping * >( pMapping )->nRef ))
     {
         uno_revokeMapping( pMapping );


More information about the Libreoffice-commits mailing list