diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2017-05-07 08:35:34 +1000 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2017-05-07 08:35:34 +1000 |
commit | 99ef7846544ea4548fb607df37aa0429d68c2ebe (patch) | |
tree | 4d8f5a96617cc48e06adb0f389445b4e3088b6ed /stoc/source/implementationregistration | |
parent | f81e6f5c78686be9d58174800983012ec025b849 (diff) |
tdf#43157: convert stoc from OSL_ASSERT to assert
Change-Id: I7d1b2748a4f4afd873ee4d65d153c76b249507dd
Diffstat (limited to 'stoc/source/implementationregistration')
-rw-r--r-- | stoc/source/implementationregistration/implreg.cxx | 2 | ||||
-rw-r--r-- | stoc/source/implementationregistration/mergekeys.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/stoc/source/implementationregistration/implreg.cxx b/stoc/source/implementationregistration/implreg.cxx index d32de8ff99d6..2ecd6743ae74 100644 --- a/stoc/source/implementationregistration/implreg.cxx +++ b/stoc/source/implementationregistration/implreg.cxx @@ -1721,7 +1721,7 @@ Reference< XSimpleRegistry > ImplementationRegistration::createTemporarySimpleRe rSMgr->createInstanceWithContext( spool().com_sun_star_registry_SimpleRegistry, xCtx ), UNO_QUERY); - OSL_ASSERT( xReg.is() ); + assert( xReg.is() ); return xReg; } diff --git a/stoc/source/implementationregistration/mergekeys.cxx b/stoc/source/implementationregistration/mergekeys.cxx index df24ca697ec2..cffd43171bc7 100644 --- a/stoc/source/implementationregistration/mergekeys.cxx +++ b/stoc/source/implementationregistration/mergekeys.cxx @@ -89,7 +89,7 @@ static void mergeKeys( xDest->setStringListValue( xSource->getStringListValue() ); break; default: - OSL_ASSERT(false); + assert(false); break; } |