diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2017-05-07 17:03:35 +1000 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2017-05-07 17:03:35 +1000 |
commit | 97eb00c75e173d4c8d0b483a7941ad3d2f23783e (patch) | |
tree | 7974a8b9423c56982646366b0859dfb2a1a88d50 /cppu/source/LogBridge | |
parent | d0a99cc2ed76be220f7e868e332ba19f6e48a440 (diff) |
revert OSL_ASSERT changes
Change-Id: I365d140446bd2a62cf8256acbfdd53fe72987380
Diffstat (limited to 'cppu/source/LogBridge')
-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 b5d72a6771f1..604369d85186 100644 --- a/cppu/source/LogBridge/LogBridge.cxx +++ b/cppu/source/LogBridge/LogBridge.cxx @@ -62,7 +62,7 @@ LogBridge::LogBridge() LogBridge::~LogBridge() { - assert(m_count >= 0); + OSL_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) { - assert(m_count > 0); + OSL_ASSERT(m_count > 0); -- m_count; pCallee(pParam); @@ -88,7 +88,7 @@ void LogBridge::v_enter() { m_mutex.acquire(); - assert(m_count >= 0); + OSL_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() { - assert(m_count > 0); + OSL_ASSERT(m_count > 0); -- m_count; if (!m_count) |