summaryrefslogtreecommitdiff
path: root/cppu/source/uno
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-02-21 16:50:01 +0100
committerStephan Bergmann <sbergman@redhat.com>2013-02-21 16:50:01 +0100
commit925e14220ef51ec31604d94ab02d8ae3f37b7d43 (patch)
treed480e048a0fb14363a9e8176e16c3d594e8e3dc3 /cppu/source/uno
parentbf61cf8d76e20d444e8617f560e4f44899f4120b (diff)
osl_atomic_increment/decrement are macros
Change-Id: Ib2d61e436d625ac89defe718d4cc1d866d538397
Diffstat (limited to 'cppu/source/uno')
-rw-r--r--cppu/source/uno/lbmap.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/cppu/source/uno/lbmap.cxx b/cppu/source/uno/lbmap.cxx
index e6892d453d9d..eea8fe8dad19 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 );