summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorMartin Gallwey <mtg@openoffice.org>2001-05-28 11:52:33 +0000
committerMartin Gallwey <mtg@openoffice.org>2001-05-28 11:52:33 +0000
commit8a382d18a86c0d3949d23b16605707765eaf3695 (patch)
tree95943ceeb666f0410f43d1367dd2096a0ec49a44 /package
parent3c76bf3a06b1fe605b3debf88d677054501c8a3e (diff)
#87256# Neither of these classes should close the underlying stream
Diffstat (limited to 'package')
-rw-r--r--package/source/zipapi/ByteChucker.cxx6
-rw-r--r--package/source/zipapi/ByteGrabber.cxx6
2 files changed, 4 insertions, 8 deletions
diff --git a/package/source/zipapi/ByteChucker.cxx b/package/source/zipapi/ByteChucker.cxx
index ae21ecd67c61..14af10d7f7d4 100644
--- a/package/source/zipapi/ByteChucker.cxx
+++ b/package/source/zipapi/ByteChucker.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: ByteChucker.cxx,v $
*
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
- * last change: $Author: mtg $ $Date: 2001-04-19 14:13:40 $
+ * last change: $Author: mtg $ $Date: 2001-05-28 12:52:33 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -76,8 +76,6 @@ ByteChucker::ByteChucker(uno::Reference<io::XOutputStream> xOstream)
}
ByteChucker::~ByteChucker()
{
- if ( xStream.is() )
- xStream->closeOutput();
}
// XOutputStream chained...
diff --git a/package/source/zipapi/ByteGrabber.cxx b/package/source/zipapi/ByteGrabber.cxx
index e713bcb4d36c..330309e3f7d0 100644
--- a/package/source/zipapi/ByteGrabber.cxx
+++ b/package/source/zipapi/ByteGrabber.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: ByteGrabber.cxx,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: mtg $ $Date: 2000-12-20 12:36:37 $
+ * last change: $Author: mtg $ $Date: 2001-05-28 12:52:33 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -75,8 +75,6 @@ ByteGrabber::ByteGrabber(uno::Reference < io::XInputStream > xIstream)
}
ByteGrabber::~ByteGrabber()
{
- if ( xStream.is() )
- xStream->closeInput();
}
void ByteGrabber::setInputStream (uno::Reference < io::XInputStream > xNewStream)
{