diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2017-05-07 07:55:10 +1000 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2017-05-07 07:55:40 +1000 |
commit | 1f4c85d0f56bb633bb31d4a0cbaf30c19b9fbbcd (patch) | |
tree | 6c2d8d1fe93009aa10987cb131a839d7bfd033b3 /cppu/source/threadpool/threadident.cxx | |
parent | 85c7782eb8ad01d891c1859764299058eb0a0ab8 (diff) |
tdf#43157: convert cppu's threadpool from OSL_ASSERT to assert
Change-Id: Id9cb46db0dd6f635014982ce958804dd0f02dd83
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 24037f6e4d2e..e27fcac87269 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(); - OSL_ASSERT( p ); - OSL_ASSERT( p->bInit ); - OSL_ASSERT( p->nRefCountOfCurrentId ); + assert( p ); + assert( p->bInit ); + 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 { - OSL_ASSERT( 0 == p->nRefCountOfCurrentId ); + assert( 0 == p->nRefCountOfCurrentId ); if( 0 == p->nRefCountOfCurrentId ) { rtl_byte_sequence_assign(&( p->pCurrentId ), pThreadId ); |