summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorMartin Gallwey <mtg@openoffice.org>2001-02-07 08:15:43 +0000
committerMartin Gallwey <mtg@openoffice.org>2001-02-07 08:15:43 +0000
commit1c7be225a38db7db1dbbe47e5f7f911c20360924 (patch)
treef4ecbe0bfc2dbc559b70b9cd6dee20c6f104ccc1 /package
parentbfaa449c45b0e7ba007a9be0e9676bb7ddd7b6f2 (diff)
Remove check for bizarre Solaris bug
Diffstat (limited to 'package')
-rw-r--r--package/source/zipapi/ZipOutputStream.cxx20
1 files changed, 2 insertions, 18 deletions
diff --git a/package/source/zipapi/ZipOutputStream.cxx b/package/source/zipapi/ZipOutputStream.cxx
index 304bf2dd87b8..6bd86c232cde 100644
--- a/package/source/zipapi/ZipOutputStream.cxx
+++ b/package/source/zipapi/ZipOutputStream.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: ZipOutputStream.cxx,v $
*
- * $Revision: 1.20 $
+ * $Revision: 1.21 $
*
- * last change: $Author: mtg $ $Date: 2001-02-07 09:13:57 $
+ * last change: $Author: mtg $ $Date: 2001-02-07 09:15:43 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -220,22 +220,6 @@ void SAL_CALL ZipOutputStream::closeEntry( )
void SAL_CALL ZipOutputStream::write( const uno::Sequence< sal_Int8 >& rBuffer, sal_Int32 nNewOffset, sal_Int32 nNewLength )
throw(io::IOException, uno::RuntimeException)
{
- sal_Int32 nSize = rBuffer.getLength();
- sal_Bool bFound = sal_False;
- const sal_Int8 *pBuf = rBuffer.getConstArray();
- for (sal_Int32 nIter = 0; nIter < nSize ; nIter++ )
- {
- if (*(pBuf+nIter) == '>')
- {
- if (bFound)
- *((int*)0) = 42;
- else
- bFound = sal_True;
- }
- else
- bFound = sal_False;
- }
-
switch (pCurrentEntry->nMethod)
{
case DEFLATED: