diff options
Diffstat (limited to 'connectivity/source/drivers/jdbc/ConnectionLog.cxx')
-rw-r--r-- | connectivity/source/drivers/jdbc/ConnectionLog.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/drivers/jdbc/ConnectionLog.cxx b/connectivity/source/drivers/jdbc/ConnectionLog.cxx index 2a43f9bef2e0..4afc43a21a21 100644 --- a/connectivity/source/drivers/jdbc/ConnectionLog.cxx +++ b/connectivity/source/drivers/jdbc/ConnectionLog.cxx @@ -41,7 +41,7 @@ namespace connectivity { namespace java { namespace sql { sal_Int32 lcl_getFreeID( ConnectionLog::ObjectType _eType ) { static oslInterlockedCount s_nCounts[ ConnectionLog::ObjectTypeCount ] = { 0, 0 }; - return osl_incrementInterlockedCount( s_nCounts + _eType ); + return osl_atomic_increment( s_nCounts + _eType ); } } |