diff options
author | Martin Gallwey <mtg@openoffice.org> | 2001-05-15 12:03:04 +0000 |
---|---|---|
committer | Martin Gallwey <mtg@openoffice.org> | 2001-05-15 12:03:04 +0000 |
commit | 0371b5cd9b09e471d086710c320ef0f09cef9c39 (patch) | |
tree | 86fd36920267aef0b29f1a628ffcc646d372e6c1 /package | |
parent | 4794eb94def72de87045276df2ed9629a9ad74a7 (diff) |
Remove unnecessary parameter from getRawStream (rEntry should always be aEntry)
Diffstat (limited to 'package')
-rw-r--r-- | package/source/zippackage/ZipPackageStream.cxx | 8 | ||||
-rw-r--r-- | package/source/zippackage/ZipPackageStream.hxx | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/package/source/zippackage/ZipPackageStream.cxx b/package/source/zippackage/ZipPackageStream.cxx index 25429119b41c..a3a4c3dde814 100644 --- a/package/source/zippackage/ZipPackageStream.cxx +++ b/package/source/zippackage/ZipPackageStream.cxx @@ -2,9 +2,9 @@ * * $RCSfile: ZipPackageStream.cxx,v $ * - * $Revision: 1.18 $ + * $Revision: 1.19 $ * - * last change: $Author: mtg $ $Date: 2001-05-08 14:04:03 $ + * last change: $Author: mtg $ $Date: 2001-05-15 13:03:04 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -151,7 +151,7 @@ void SAL_CALL ZipPackageStream::setInputStream( const Reference< io::XInputStrea aEntry.nTime = -1; } -Reference< io::XInputStream > SAL_CALL ZipPackageStream::getRawStream( com::sun::star::packages::ZipEntry &rEntry ) +Reference< io::XInputStream > SAL_CALL ZipPackageStream::getRawStream( ) throw(RuntimeException) { if (IsPackageMember()) @@ -159,7 +159,7 @@ Reference< io::XInputStream > SAL_CALL ZipPackageStream::getRawStream( com::sun: try { xEncryptionData->aKey = rZipPackage.getEncryptionKey(); - return rZipPackage.getZipFile().getRawStream(rEntry, xEncryptionData); + return rZipPackage.getZipFile().getRawStream(aEntry, xEncryptionData); } catch (packages::ZipException &)//rException) { diff --git a/package/source/zippackage/ZipPackageStream.hxx b/package/source/zippackage/ZipPackageStream.hxx index 30b9d1aa06bb..80d749be184c 100644 --- a/package/source/zippackage/ZipPackageStream.hxx +++ b/package/source/zippackage/ZipPackageStream.hxx @@ -2,9 +2,9 @@ * * $RCSfile: ZipPackageStream.hxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: mtg $ $Date: 2001-05-08 14:02:21 $ + * last change: $Author: mtg $ $Date: 2001-05-15 13:02:06 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -125,7 +125,7 @@ public: virtual ~ZipPackageStream( void ); void setZipEntry( const com::sun::star::packages::ZipEntry &rInEntry); - virtual ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream > SAL_CALL getRawStream( com::sun::star::packages::ZipEntry &rEntry ) + ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream > SAL_CALL getRawStream( ) throw(::com::sun::star::uno::RuntimeException); // XInterface |