summaryrefslogtreecommitdiff
path: root/cppu/source/uno/copy.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'cppu/source/uno/copy.hxx')
-rw-r--r--cppu/source/uno/copy.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/cppu/source/uno/copy.hxx b/cppu/source/uno/copy.hxx
index 8986dc020231..ce46492bfce4 100644
--- a/cppu/source/uno/copy.hxx
+++ b/cppu/source/uno/copy.hxx
@@ -506,7 +506,7 @@ inline uno_Sequence * icopyConstructSequence(
(eTypeClass <= typelib_TypeClass_ENUM &&
eTypeClass != typelib_TypeClass_ANY))
{
- ::osl_incrementInterlockedCount( &pSource->nRefCount );
+ osl_atomic_increment( &pSource->nRefCount );
return pSource;
}
else // create new sequence
@@ -828,7 +828,7 @@ inline void _copyConstructData(
}
else
{
- ::osl_incrementInterlockedCount( &(*(uno_Sequence **)pSource)->nRefCount );
+ osl_atomic_increment( &(*(uno_Sequence **)pSource)->nRefCount );
*(uno_Sequence **)pDest = *(uno_Sequence **)pSource;
}
break;