replace remaining InterlockedCount() with inlined version

Change-Id: Ifcfa48fc87f905a91470a5b0fd597b02f220784c
Reviewed-on: https://gerrit.libreoffice.org/671
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
This commit is contained in:
Norbert Thiebaud
2012-09-22 01:51:12 -05:00
parent bcd2b01708
commit 750fc20611
239 changed files with 529 additions and 532 deletions

View File

@@ -60,13 +60,13 @@ namespace frm
//--------------------------------------------------------------------
oslInterlockedCount SAL_CALL ReferenceBase::acquire()
{
return osl_incrementInterlockedCount( &m_refCount );
return osl_atomic_increment( &m_refCount );
}
//--------------------------------------------------------------------
oslInterlockedCount SAL_CALL ReferenceBase::release()
{
return osl_decrementInterlockedCount( &m_refCount );
return osl_atomic_decrement( &m_refCount );
}
//--------------------------------------------------------------------