diff options
author | Mathias Bauer <mba@openoffice.org> | 2000-11-30 15:41:58 +0000 |
---|---|---|
committer | Mathias Bauer <mba@openoffice.org> | 2000-11-30 15:41:58 +0000 |
commit | fb017225e93fe7aa31d633708d8f05d3ba6f984c (patch) | |
tree | 044421fe7e2bb765bd30e4c3c73cff5bc5debb71 /unotools/source/ucbhelper/ucbstreamhelper.cxx | |
parent | 8ffeba9f6384d3799ed5446b4730803b88256b97 (diff) |
#78327#: Set Buffersize
Diffstat (limited to 'unotools/source/ucbhelper/ucbstreamhelper.cxx')
-rw-r--r-- | unotools/source/ucbhelper/ucbstreamhelper.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/unotools/source/ucbhelper/ucbstreamhelper.cxx b/unotools/source/ucbhelper/ucbstreamhelper.cxx index 11ce5fecfdf2..7d2f4538707e 100644 --- a/unotools/source/ucbhelper/ucbstreamhelper.cxx +++ b/unotools/source/ucbhelper/ucbstreamhelper.cxx @@ -2,9 +2,9 @@ * * $RCSfile: ucbstreamhelper.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: mba $ $Date: 2000-11-30 09:17:11 $ + * last change: $Author: mba $ $Date: 2000-11-30 16:40:21 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -124,6 +124,7 @@ SvStream* UcbStreamHelper::CreateStream( const String& rFileName, StreamMode eOp if ( xLockBytes.Is() ) { pStream = new SvStream( xLockBytes ); + pStream->SetBufferSize( 4096 ); pStream->SetError( xLockBytes->GetError() ); } } @@ -146,6 +147,7 @@ SvStream* UcbStreamHelper::CreateStream( Reference < XInputStream > xStream ) if ( xLockBytes.Is() ) { pStream = new SvStream( xLockBytes ); + pStream->SetBufferSize( 4096 ); pStream->SetError( xLockBytes->GetError() ); } |