diff options
Diffstat (limited to 'cppu/source/threadpool/threadident.cxx')
-rw-r--r-- | cppu/source/threadpool/threadident.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cppu/source/threadpool/threadident.cxx b/cppu/source/threadpool/threadident.cxx index e27fcac87269..24037f6e4d2e 100644 --- a/cppu/source/threadpool/threadident.cxx +++ b/cppu/source/threadpool/threadident.cxx @@ -84,9 +84,9 @@ extern "C" void SAL_CALL uno_releaseIdFromCurrentThread() SAL_THROW_EXTERN_C() { IdContainer *p = getIdContainer(); - assert( p ); - assert( p->bInit ); - assert( p->nRefCountOfCurrentId ); + OSL_ASSERT( p ); + OSL_ASSERT( p->bInit ); + OSL_ASSERT( p->nRefCountOfCurrentId ); p->nRefCountOfCurrentId --; if( ! p->nRefCountOfCurrentId && (p->pLocalThreadId != p->pCurrentId) ) @@ -110,7 +110,7 @@ extern "C" sal_Bool SAL_CALL uno_bindIdToCurrentThread( sal_Sequence *pThreadId } else { - assert( 0 == p->nRefCountOfCurrentId ); + OSL_ASSERT( 0 == p->nRefCountOfCurrentId ); if( 0 == p->nRefCountOfCurrentId ) { rtl_byte_sequence_assign(&( p->pCurrentId ), pThreadId ); |