diff options
Diffstat (limited to 'io/test/testconnection.cxx')
-rw-r--r-- | io/test/testconnection.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/io/test/testconnection.cxx b/io/test/testconnection.cxx index 67310cf854a7..69a2bdeccfb8 100644 --- a/io/test/testconnection.cxx +++ b/io/test/testconnection.cxx @@ -72,11 +72,11 @@ void doRead( const Reference < XConnection > &r ) { Sequence < sal_Int8 > seq(10); - assert( 10 == r->read( seq , 10 ) ); + OSL_ASSERT( 10 == r->read( seq , 10 ) ); for( sal_Int32 i = 0 ; i < 10 ; i ++ ) { - assert( seq.getConstArray()[i] == i ); + OSL_ASSERT( seq.getConstArray()[i] == i ); } } @@ -130,7 +130,7 @@ void testConnection( const OUString &sConnectionDescription , TimeValue value = {1,0}; osl_waitThread( &value ); r = rConnector->connect( sConnectionDescription ); - assert( r.is() ); + OSL_ASSERT( r.is() ); doWrite( r ); doRead( r ); bGotit = sal_True; |