summaryrefslogtreecommitdiff
path: root/cppu/source/uno/prim.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'cppu/source/uno/prim.hxx')
-rw-r--r--cppu/source/uno/prim.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/cppu/source/uno/prim.hxx b/cppu/source/uno/prim.hxx
index 3d2edde44f50..b40dac398eb3 100644
--- a/cppu/source/uno/prim.hxx
+++ b/cppu/source/uno/prim.hxx
@@ -116,7 +116,7 @@ inline sal_uInt32 calcSeqMemSize(
//--------------------------------------------------------------------------------------------------
inline uno_Sequence * createEmptySequence() SAL_THROW(())
{
- ::osl_incrementInterlockedCount( &g_emptySeq.nRefCount );
+ osl_atomic_increment( &g_emptySeq.nRefCount );
return &g_emptySeq;
}
//--------------------------------------------------------------------------------------------------
@@ -144,7 +144,7 @@ inline typelib_TypeDescriptionReference * _getVoidType()
//--------------------------------------------------------------------------------------------------
#define TYPE_ACQUIRE( pType ) \
- ::osl_incrementInterlockedCount( &(pType)->nRefCount );
+ osl_atomic_increment( &(pType)->nRefCount );
//--------------------------------------------------------------------------------------------------
extern "C" void * binuno_queryInterface(