From 97eb00c75e173d4c8d0b483a7941ad3d2f23783e Mon Sep 17 00:00:00 2001 From: Chris Sherlock Date: Sun, 7 May 2017 17:03:35 +1000 Subject: revert OSL_ASSERT changes Change-Id: I365d140446bd2a62cf8256acbfdd53fe72987380 --- io/test/testconnection.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'io/test/testconnection.cxx') 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; -- cgit