diff options
author | Martin Gallwey <mtg@openoffice.org> | 2001-05-28 11:52:33 +0000 |
---|---|---|
committer | Martin Gallwey <mtg@openoffice.org> | 2001-05-28 11:52:33 +0000 |
commit | 8d7cfdb6cec151028e294620d3118674d00f0f49 (patch) | |
tree | d1bb24fe7f1500e0d27d9f11401bd3d36c9e5524 | |
parent | 69cdf04b63d0309008624d71b1854d2900b1c639 (diff) |
#87256# Neither of these classes should close the underlying stream
-rw-r--r-- | package/source/zipapi/ByteChucker.cxx | 6 | ||||
-rw-r--r-- | package/source/zipapi/ByteGrabber.cxx | 6 |
2 files changed, 4 insertions, 8 deletions
diff --git a/package/source/zipapi/ByteChucker.cxx b/package/source/zipapi/ByteChucker.cxx index 502236cbc..3c35bb85f 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 3c99479dc..79dab7921 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) { |