diff options
Diffstat (limited to 'dtrans/source/cnttype/wbench/testcnttype.cxx')
-rw-r--r-- | dtrans/source/cnttype/wbench/testcnttype.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dtrans/source/cnttype/wbench/testcnttype.cxx b/dtrans/source/cnttype/wbench/testcnttype.cxx index 517d84a8ce79..d6b1fe10b1f8 100644 --- a/dtrans/source/cnttype/wbench/testcnttype.cxx +++ b/dtrans/source/cnttype/wbench/testcnttype.cxx @@ -120,7 +120,7 @@ void ShutdownServiceMgr( Reference< XMultiServiceFactory >& SrvMgr ) Reference< XComponent > xComponent( SrvMgr, UNO_QUERY ); if ( !xComponent.is() ) - OSL_ENSURE(sal_False, "Error shuting down"); + OSL_FAIL("Error shuting down"); // Dispose and clear factory xComponent->dispose(); @@ -232,7 +232,7 @@ int SAL_CALL main( int nArgc, char* argv[] ) // Print a message if an error occurred. if ( !g_xFactory.is( ) ) { - OSL_ENSURE(sal_False, "Can't create RegistryServiceFactory"); + OSL_FAIL("Can't create RegistryServiceFactory"); return(-1); } @@ -250,7 +250,7 @@ int SAL_CALL main( int nArgc, char* argv[] ) if ( !xMCntTypeFactory.is( ) ) { - OSL_ENSURE( sal_False, "Error creating MimeContentTypeFactory Service" ); + OSL_FAIL( "Error creating MimeContentTypeFactory Service" ); return(-1); } |