diff options
Diffstat (limited to 'ucb/source/ucp/webdav/DAVSession.hxx')
-rw-r--r-- | ucb/source/ucp/webdav/DAVSession.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ucb/source/ucp/webdav/DAVSession.hxx b/ucb/source/ucp/webdav/DAVSession.hxx index 3ecbc618b317..34e431ac2d68 100644 --- a/ucb/source/ucp/webdav/DAVSession.hxx +++ b/ucb/source/ucp/webdav/DAVSession.hxx @@ -46,12 +46,12 @@ class DAVSession public: void acquire() { - osl_incrementInterlockedCount( &m_nRefCount ); + osl_atomic_increment( &m_nRefCount ); } void release() { - if ( osl_decrementInterlockedCount( &m_nRefCount ) == 0 ) + if ( osl_atomic_decrement( &m_nRefCount ) == 0 ) { m_xFactory->releaseElement( this ); delete this; |