summaryrefslogtreecommitdiff
path: root/dtrans/source/cnttype/wbench/testcnttype.cxx
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-03-19 14:11:09 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-03-19 14:11:09 +0100
commit3d874bdf409ca4a099853b30aeb9932e45c56f60 (patch)
tree3b88c39fa7cf3aa598a286534afc7de6f4ec98ab /dtrans/source/cnttype/wbench/testcnttype.cxx
parent4edacef4f14f1992f8e0cbded5a86730c8353b4d (diff)
Move OSL_ENSURE(sal_False,...) to OSL_FAIL(...)
Diffstat (limited to 'dtrans/source/cnttype/wbench/testcnttype.cxx')
-rw-r--r--dtrans/source/cnttype/wbench/testcnttype.cxx6
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);
}