diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2017-05-07 07:57:10 +1000 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2017-05-07 07:57:10 +1000 |
commit | ba49d9f20a3edb47eb72007c3023427cb4ec8322 (patch) | |
tree | 61d06665851113328e2e9c777e5001a0f9849d33 /cppu | |
parent | 2a385968c6c70a0c3158feabe991eda8c428f234 (diff) |
tdf#43157: convert cppu's LogBridge from OSL_ASSERT to assert
Change-Id: I8c377e716df65ca272ed4d4c1038260c68b6c30e
Diffstat (limited to 'cppu')
-rw-r--r-- | cppu/source/LogBridge/LogBridge.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cppu/source/LogBridge/LogBridge.cxx b/cppu/source/LogBridge/LogBridge.cxx index 604369d85186..b5d72a6771f1 100644 --- a/cppu/source/LogBridge/LogBridge.cxx +++ b/cppu/source/LogBridge/LogBridge.cxx @@ -62,7 +62,7 @@ LogBridge::LogBridge() LogBridge::~LogBridge() { - OSL_ASSERT(m_count >= 0); + assert(m_count >= 0); } void LogBridge::v_callInto_v(uno_EnvCallee * pCallee, va_list * pParam) @@ -74,7 +74,7 @@ void LogBridge::v_callInto_v(uno_EnvCallee * pCallee, va_list * pParam) void LogBridge::v_callOut_v(uno_EnvCallee * pCallee, va_list * pParam) { - OSL_ASSERT(m_count > 0); + assert(m_count > 0); -- m_count; pCallee(pParam); @@ -88,7 +88,7 @@ void LogBridge::v_enter() { m_mutex.acquire(); - OSL_ASSERT(m_count >= 0); + assert(m_count >= 0); if (m_count == 0) m_threadId = osl::Thread::getCurrentIdentifier(); @@ -98,7 +98,7 @@ void LogBridge::v_enter() void LogBridge::v_leave() { - OSL_ASSERT(m_count > 0); + assert(m_count > 0); -- m_count; if (!m_count) |