diff options
Diffstat (limited to 'connectivity/source/commontools/TPrivilegesResultSet.cxx')
-rw-r--r-- | connectivity/source/commontools/TPrivilegesResultSet.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/source/commontools/TPrivilegesResultSet.cxx b/connectivity/source/commontools/TPrivilegesResultSet.cxx index ce5f4466d0c3..f911f3e3e298 100644 --- a/connectivity/source/commontools/TPrivilegesResultSet.cxx +++ b/connectivity/source/commontools/TPrivilegesResultSet.cxx @@ -35,7 +35,7 @@ OResultSetPrivileges::OResultSetPrivileges( const Reference< XDatabaseMetaData>& : ODatabaseMetaDataResultSet(eTablePrivileges) , m_bResetValues(sal_True) { - osl_incrementInterlockedCount( &m_refCount ); + osl_atomic_increment( &m_refCount ); { ::rtl::OUString sUserWorkingFor; Sequence< ::rtl::OUString > sTableTypes(3); @@ -79,7 +79,7 @@ OResultSetPrivileges::OResultSetPrivileges( const Reference< XDatabaseMetaData>& setRows(aRows); } - osl_decrementInterlockedCount( &m_refCount ); + osl_atomic_decrement( &m_refCount ); } //------------------------------------------------------------------------------ const ORowSetValue& OResultSetPrivileges::getValue(sal_Int32 columnIndex) |