summaryrefslogtreecommitdiff
path: root/desktop/source/deployment/dp_log.cxx
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2017-05-07 17:03:35 +1000
committerChris Sherlock <chris.sherlock79@gmail.com>2017-05-07 17:03:35 +1000
commit97eb00c75e173d4c8d0b483a7941ad3d2f23783e (patch)
tree7974a8b9423c56982646366b0859dfb2a1a88d50 /desktop/source/deployment/dp_log.cxx
parentd0a99cc2ed76be220f7e868e332ba19f6e48a440 (diff)
revert OSL_ASSERT changes
Change-Id: I365d140446bd2a62cf8256acbfdd53fe72987380
Diffstat (limited to 'desktop/source/deployment/dp_log.cxx')
-rw-r--r--desktop/source/deployment/dp_log.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/desktop/source/deployment/dp_log.cxx b/desktop/source/deployment/dp_log.cxx
index 7d05c4bb15f9..ee814f312b7b 100644
--- a/desktop/source/deployment/dp_log.cxx
+++ b/desktop/source/deployment/dp_log.cxx
@@ -149,7 +149,7 @@ void ProgressLogImpl::log_write( OString const & text )
void ProgressLogImpl::push( Any const & Status )
{
update( Status );
- assert( m_log_level >= 0 );
+ OSL_ASSERT( m_log_level >= 0 );
++m_log_level;
}
@@ -160,7 +160,7 @@ void ProgressLogImpl::update( Any const & Status )
return;
OUStringBuffer buf;
- assert( m_log_level >= 0 );
+ OSL_ASSERT( m_log_level >= 0 );
for ( sal_Int32 n = 0; n < m_log_level; ++n )
buf.append( ' ' );
@@ -180,7 +180,7 @@ void ProgressLogImpl::update( Any const & Status )
void ProgressLogImpl::pop()
{
- assert( m_log_level > 0 );
+ OSL_ASSERT( m_log_level > 0 );
--m_log_level;
}