diff options
Diffstat (limited to 'embeddedobj/source/msole/olewrapclient.cxx')
-rw-r--r-- | embeddedobj/source/msole/olewrapclient.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embeddedobj/source/msole/olewrapclient.cxx b/embeddedobj/source/msole/olewrapclient.cxx index 84ebec9a9dd7..7f14a2629eaa 100644 --- a/embeddedobj/source/msole/olewrapclient.cxx +++ b/embeddedobj/source/msole/olewrapclient.cxx @@ -56,7 +56,7 @@ STDMETHODIMP OleWrapperClientSite::QueryInterface( REFIID riid , void** ppv ) STDMETHODIMP_(ULONG) OleWrapperClientSite::AddRef() { - return osl_incrementInterlockedCount( &m_nRefCount); + return osl_atomic_increment( &m_nRefCount); } STDMETHODIMP_(ULONG) OleWrapperClientSite::Release() |