diff options
Diffstat (limited to 'connectivity/source/drivers/ado/APreparedStatement.cxx')
-rw-r--r-- | connectivity/source/drivers/ado/APreparedStatement.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/source/drivers/ado/APreparedStatement.cxx b/connectivity/source/drivers/ado/APreparedStatement.cxx index d12d0c2179aa..fd1e0b196b92 100644 --- a/connectivity/source/drivers/ado/APreparedStatement.cxx +++ b/connectivity/source/drivers/ado/APreparedStatement.cxx @@ -57,7 +57,7 @@ OPreparedStatement::OPreparedStatement( OConnection* _pConnection,const OTypeInf : OStatement_Base( _pConnection ) ,m_aTypeInfo(_TypeInfo) { - osl_incrementInterlockedCount( &m_refCount ); + osl_atomic_increment( &m_refCount ); OSQLParser aParser(_pConnection->getDriver()->getORB()); ::rtl::OUString sErrorMessage; @@ -80,7 +80,7 @@ OPreparedStatement::OPreparedStatement( OConnection* _pConnection,const OTypeInf m_pParameters->AddRef(); m_pParameters->Refresh(); - osl_decrementInterlockedCount( &m_refCount ); + osl_atomic_decrement( &m_refCount ); } // ------------------------------------------------------------------------- |