diff options
Diffstat (limited to 'connectivity/source/drivers/kab/KDriver.cxx')
-rw-r--r-- | connectivity/source/drivers/kab/KDriver.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/source/drivers/kab/KDriver.cxx b/connectivity/source/drivers/kab/KDriver.cxx index 88c3702a3aef..04ee1195631d 100644 --- a/connectivity/source/drivers/kab/KDriver.cxx +++ b/connectivity/source/drivers/kab/KDriver.cxx @@ -311,7 +311,7 @@ KabDriver::KabDriver( if ( !m_xMSFactory.is() ) throw NullPointerException(); - osl_incrementInterlockedCount( &m_refCount ); + osl_atomic_increment( &m_refCount ); try { Reference< XDesktop > xDesktop( @@ -323,7 +323,7 @@ KabDriver::KabDriver( { DBG_UNHANDLED_EXCEPTION(); } - osl_decrementInterlockedCount( &m_refCount ); + osl_atomic_decrement( &m_refCount ); } // -------------------------------------------------------------------------------- void KabDriver::disposing() |