summaryrefslogtreecommitdiffstats
path: root/accessibility/source/extended/accessibleiconchoicectrlentry.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'accessibility/source/extended/accessibleiconchoicectrlentry.cxx')
-rw-r--r--accessibility/source/extended/accessibleiconchoicectrlentry.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/accessibility/source/extended/accessibleiconchoicectrlentry.cxx b/accessibility/source/extended/accessibleiconchoicectrlentry.cxx
index f791ba2e827f..7de4248be5aa 100644
--- a/accessibility/source/extended/accessibleiconchoicectrlentry.cxx
+++ b/accessibility/source/extended/accessibleiconchoicectrlentry.cxx
@@ -84,13 +84,13 @@ namespace accessibility
m_xParent ( _xParent )
{
- osl_incrementInterlockedCount( &m_refCount );
+ osl_atomic_increment( &m_refCount );
{
Reference< XComponent > xComp( m_xParent, UNO_QUERY );
if ( xComp.is() )
xComp->addEventListener( this );
}
- osl_decrementInterlockedCount( &m_refCount );
+ osl_atomic_decrement( &m_refCount );
}
// -----------------------------------------------------------------------------
void AccessibleIconChoiceCtrlEntry::disposing( const EventObject& _rSource )
@@ -108,7 +108,7 @@ throw(RuntimeException)
if ( IsAlive_Impl() )
{
// increment ref count to prevent double call of Dtor
- osl_incrementInterlockedCount( &m_refCount );
+ osl_atomic_increment( &m_refCount );
dispose();
}
}