From 99ef7846544ea4548fb607df37aa0429d68c2ebe Mon Sep 17 00:00:00 2001 From: Chris Sherlock Date: Sun, 7 May 2017 08:35:34 +1000 Subject: tdf#43157: convert stoc from OSL_ASSERT to assert Change-Id: I7d1b2748a4f4afd873ee4d65d153c76b249507dd --- stoc/source/implementationregistration/implreg.cxx | 2 +- stoc/source/implementationregistration/mergekeys.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'stoc/source/implementationregistration') 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; } -- cgit