summaryrefslogtreecommitdiff
path: root/cppuhelper/source/component_context.cxx
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2017-05-07 08:11:12 +1000
committerChris Sherlock <chris.sherlock79@gmail.com>2017-05-07 08:11:12 +1000
commit9a274915a16eea5e3ce51a27b1a8741ac5e785b8 (patch)
tree952d7239d645985b08edf0c7e9fbcc6e3f43a2f5 /cppuhelper/source/component_context.cxx
parent8dd791560b08525eec3853029fc9f4e1c49f74de (diff)
tdf#43157: convert cppuhelper and io from OSL_ASSERT to assert
Change-Id: I56d49e1ce9f1c070fedcabb8f1637d17dee1083b
Diffstat (limited to 'cppuhelper/source/component_context.cxx')
-rw-r--r--cppuhelper/source/component_context.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/cppuhelper/source/component_context.cxx b/cppuhelper/source/component_context.cxx
index 2df1b495689c..d3bbeea5f3b9 100644
--- a/cppuhelper/source/component_context.cxx
+++ b/cppuhelper/source/component_context.cxx
@@ -85,7 +85,7 @@ class DisposingForwarder
explicit DisposingForwarder( Reference< lang::XComponent > const & xTarget )
: m_xTarget( xTarget )
{
- OSL_ASSERT( m_xTarget.is() );
+ assert( m_xTarget.is() );
}
public:
// listens at source for disposing, then disposes target
@@ -532,7 +532,7 @@ ComponentContext::ComponentContext(
UNO_QUERY );
// patch DefaultContext property of new one
Reference< beans::XPropertySet > xProps( m_xSMgr, UNO_QUERY );
- OSL_ASSERT( xProps.is() );
+ assert( xProps.is() );
if (xProps.is())
{
Reference< XComponentContext > xThis( this );
@@ -545,7 +545,7 @@ ComponentContext::ComponentContext(
throw;
}
osl_atomic_decrement( &m_refCount );
- OSL_ASSERT( m_xSMgr.is() );
+ assert( m_xSMgr.is() );
}
}
}