diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2017-05-07 08:11:12 +1000 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2017-05-07 08:11:12 +1000 |
commit | 9a274915a16eea5e3ce51a27b1a8741ac5e785b8 (patch) | |
tree | 952d7239d645985b08edf0c7e9fbcc6e3f43a2f5 /cppuhelper/source/weak.cxx | |
parent | 8dd791560b08525eec3853029fc9f4e1c49f74de (diff) |
tdf#43157: convert cppuhelper and io from OSL_ASSERT to assert
Change-Id: I56d49e1ce9f1c070fedcabb8f1637d17dee1083b
Diffstat (limited to 'cppuhelper/source/weak.cxx')
-rw-r--r-- | cppuhelper/source/weak.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cppuhelper/source/weak.cxx b/cppuhelper/source/weak.cxx index b52634b26ecc..981867ec5162 100644 --- a/cppuhelper/source/weak.cxx +++ b/cppuhelper/source/weak.cxx @@ -383,7 +383,7 @@ OWeakRefListener::OWeakRefListener(const Reference< XInterface >& xInt) } } } - catch (RuntimeException &) { OSL_ASSERT( false ); } // assert here, but no unexpected() + catch (RuntimeException &) { assert( false ); } // assert here, but no unexpected() osl_atomic_decrement( &m_aRefCount ); } @@ -397,7 +397,7 @@ OWeakRefListener::~OWeakRefListener() m_XWeakConnectionPoint->removeReference(static_cast<XReference*>(this)); } } - catch (RuntimeException &) { OSL_ASSERT( false ); } // assert here, but no unexpected() + catch (RuntimeException &) { assert( false ); } // assert here, but no unexpected() } // XInterface @@ -471,7 +471,7 @@ void WeakReferenceHelper::clear() m_pImpl = nullptr; } } - catch (RuntimeException &) { OSL_ASSERT( false ); } // assert here, but no unexpected() + catch (RuntimeException &) { assert( false ); } // assert here, but no unexpected() } WeakReferenceHelper& WeakReferenceHelper::operator=(const WeakReferenceHelper& rWeakRef) @@ -504,7 +504,7 @@ WeakReferenceHelper::operator= (const Reference< XInterface > & xInt) m_pImpl->acquire(); } } - catch (RuntimeException &) { OSL_ASSERT( false ); } // assert here, but no unexpected() + catch (RuntimeException &) { assert( false ); } // assert here, but no unexpected() return *this; } @@ -530,7 +530,7 @@ Reference< XInterface > WeakReferenceHelper::get() const } catch (RuntimeException &) { - OSL_ASSERT( false ); + assert( false ); } // assert here, but no unexpected() return Reference< XInterface >(); |