summaryrefslogtreecommitdiff
path: root/stoc/source/servicemanager
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2017-05-07 08:35:34 +1000
committerChris Sherlock <chris.sherlock79@gmail.com>2017-05-07 08:35:34 +1000
commit99ef7846544ea4548fb607df37aa0429d68c2ebe (patch)
tree4d8f5a96617cc48e06adb0f389445b4e3088b6ed /stoc/source/servicemanager
parentf81e6f5c78686be9d58174800983012ec025b849 (diff)
tdf#43157: convert stoc from OSL_ASSERT to assert
Change-Id: I7d1b2748a4f4afd873ee4d65d153c76b249507dd
Diffstat (limited to 'stoc/source/servicemanager')
-rw-r--r--stoc/source/servicemanager/servicemanager.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/stoc/source/servicemanager/servicemanager.cxx b/stoc/source/servicemanager/servicemanager.cxx
index eb5685a29b76..d580e1461052 100644
--- a/stoc/source/servicemanager/servicemanager.cxx
+++ b/stoc/source/servicemanager/servicemanager.cxx
@@ -671,7 +671,7 @@ void OServiceManager::disposing()
m_xContext.clear();
// not only the Event should hold the object
- OSL_ASSERT( m_refCount != 1 );
+ assert( m_refCount != 1 );
}
// XPropertySet
@@ -806,7 +806,7 @@ Reference< XInterface > OServiceManager::createInstanceWithContext(
check_undisposed();
#if OSL_DEBUG_LEVEL > 0
Reference< beans::XPropertySet > xProps( xContext->getServiceManager(), UNO_QUERY );
- OSL_ASSERT( xProps.is() );
+ assert( xProps.is() );
if (xProps.is())
{
Reference< XComponentContext > xDefContext;
@@ -860,7 +860,7 @@ Reference< XInterface > OServiceManager::createInstanceWithArgumentsAndContext(
check_undisposed();
#if OSL_DEBUG_LEVEL > 0
Reference< beans::XPropertySet > xProps( xContext->getServiceManager(), UNO_QUERY );
- OSL_ASSERT( xProps.is() );
+ assert( xProps.is() );
if (xProps.is())
{
Reference< XComponentContext > xDefContext;