diff options
Diffstat (limited to 'stoc/test/testsmgr2.cxx')
-rw-r--r-- | stoc/test/testsmgr2.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stoc/test/testsmgr2.cxx b/stoc/test/testsmgr2.cxx index dd65f6733724..2e40c0444dca 100644 --- a/stoc/test/testsmgr2.cxx +++ b/stoc/test/testsmgr2.cxx @@ -76,7 +76,7 @@ SAL_IMPLEMENT_MAIN() n ++; } // there are two services in two registries ! - assert( 2 == n ); + OSL_ASSERT( 2 == n ); if( 2 == n ) { printf( "test passed\n" ); @@ -101,7 +101,7 @@ SAL_IMPLEMENT_MAIN() { OString o = OUStringToOString( e.Message , RTL_TEXTENCODING_ASCII_US ); printf( "%s\n" , o.getStr() ); - assert(0); + OSL_ASSERT( 0 ); return 1; } } |