summaryrefslogtreecommitdiff
path: root/extensions/test/stm/pipetest.cxx
diff options
context:
space:
mode:
authorMathias Bauer <mba@openoffice.org>2009-07-10 14:03:42 +0200
committerMathias Bauer <mba@openoffice.org>2009-07-10 14:03:42 +0200
commita7e564b4836154b84d67814486123eab6cb639c2 (patch)
treedd2acabfabf9b8fa8052e9406c5d51ec14a9b9da /extensions/test/stm/pipetest.cxx
parent87b38cb17d0443b890befe17043698841175d285 (diff)
#i103452#: replace PRODUCT by !DBG_UTIL; replace assert by OSL_ASSERT where possible
Diffstat (limited to 'extensions/test/stm/pipetest.cxx')
-rw-r--r--extensions/test/stm/pipetest.cxx6
1 files changed, 1 insertions, 5 deletions
diff --git a/extensions/test/stm/pipetest.cxx b/extensions/test/stm/pipetest.cxx
index 4f4337ceff45..233979230708 100644
--- a/extensions/test/stm/pipetest.cxx
+++ b/extensions/test/stm/pipetest.cxx
@@ -45,10 +45,6 @@
#include <vos/mutex.hxx>
#include <vos/thread.hxx>
-#if OSL_DEBUG_LEVEL == 0
-#define NDEBUG
-#endif
-#include <assert.h>
#include <string.h>
#include "testfactreg.hxx"
@@ -404,7 +400,7 @@ void OPipeTest::testMultithreading( const XInterfaceRef &r )
XInputStreamRef input( x , USR_QUERY );
XOutputStreamRef output( x , USR_QUERY );
- assert( output.is() );
+ OSL_ASSERT( output.is() );
while( TRUE ) {
// basic read/write
Sequence<BYTE> seqWrite( 500 );