summaryrefslogtreecommitdiff
path: root/configmgr/source
diff options
context:
space:
mode:
authorDirk Grobler <dg@openoffice.org>2001-07-06 11:41:58 +0000
committerDirk Grobler <dg@openoffice.org>2001-07-06 11:41:58 +0000
commit083d9afbeeb459503fbd8fb2192b7b9f6c403e02 (patch)
treec9988d07f5866317cda7083e387a9b41bd8eb6bd /configmgr/source
parent55b0f7728f034cea653dfe400966e678f69e6385 (diff)
error within read-method, data array was truncated
Diffstat (limited to 'configmgr/source')
-rw-r--r--configmgr/source/misc/oslstream.cxx8
1 files changed, 2 insertions, 6 deletions
diff --git a/configmgr/source/misc/oslstream.cxx b/configmgr/source/misc/oslstream.cxx
index 9b3104a63b14..b8de3fb8ee93 100644
--- a/configmgr/source/misc/oslstream.cxx
+++ b/configmgr/source/misc/oslstream.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: oslstream.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: lla $ $Date: 2001-05-31 14:09:46 $
+ * last change: $Author: dg $ $Date: 2001-07-06 12:41:58 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -280,10 +280,6 @@ sal_Int32 SAL_CALL OSLInputBufferedStreamWrapper::readBytes(staruno::Sequence< s
if (eError != osl_File_E_None)
throw stario::BufferSizeExceededException(::rtl::OUString(),static_cast<staruno::XWeak*>(this));
- // Wenn gelesene Zeichen < MaxLength, staruno::Sequence anpassen
- if (nRead < (sal_uInt32)nBytesToRead)
- aData.realloc( nRead );
-
return nRead;
}