diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2007-09-20 13:41:47 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2007-09-20 13:41:47 +0000 |
commit | 9063598cfdb46215692f221d04e402eb40ef8151 (patch) | |
tree | 59e85ef6309a4a74194de697d24c7d70b9efdb19 /io | |
parent | f3d2b8a43f9fc5f056ef30eb01d0b7e7ed9f9096 (diff) |
INTEGRATION: CWS os2port01 (1.5.28); FILE MERGED
2007/07/17 11:39:28 obr 1.5.28.2: RESYNC: (1.5-1.6); FILE MERGED
2006/12/28 15:00:39 ydario 1.5.28.1: OS/2 initial import.
Diffstat (limited to 'io')
-rw-r--r-- | io/test/stm/pipetest.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/io/test/stm/pipetest.cxx b/io/test/stm/pipetest.cxx index a2abef8e2f24..65da6a8b1880 100644 --- a/io/test/stm/pipetest.cxx +++ b/io/test/stm/pipetest.cxx @@ -4,9 +4,9 @@ * * $RCSfile: pipetest.cxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: obo $ $Date: 2006-09-16 23:45:38 $ + * last change: $Author: vg $ $Date: 2007-09-20 14:41:47 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -342,7 +342,7 @@ void OPipeTest::testSimple( const Reference < XInterface > &r ) void OPipeTest::testBufferResizing( const Reference < XInterface > &r ) { - + int i; int iMax = 20000; Reference< XInputStream > input( r , UNO_QUERY ); Reference < XOutputStream > output( r , UNO_QUERY ); @@ -358,7 +358,7 @@ void OPipeTest::testBufferResizing( const Reference < XInterface > &r ) Sequence< sal_Int8 > dummy; input->readBytes( dummy , 100); - for( int i = 0 ; i < iMax ; i ++ ) { + for( i = 0 ; i < iMax ; i ++ ) { output->writeBytes( createIntSeq( i ) ); } @@ -379,7 +379,7 @@ void OPipeTest::testBufferResizing( const Reference < XInterface > &r ) void OPipeTest::testMultithreading( const Reference < XInterface > &r ) { - + int i; int iMax = 30000; Reference< XInputStream > input( r , UNO_QUERY ); @@ -397,7 +397,7 @@ void OPipeTest::testMultithreading( const Reference < XInterface > &r ) p->create(); - for(int i = 0 ; sal_True ; i ++ ) { + for( i = 0 ; sal_True ; i ++ ) { if( 0 == input->readBytes( seqRead, createIntSeq(i).getLength() ) ) { // eof reached ! break; |