Remove unnecessary parameter from getRawStream (rEntry should always be aEntry)

This commit is contained in:
Martin Gallwey
2001-05-15 12:03:04 +00:00
parent 4794eb94de
commit 0371b5cd9b
2 changed files with 7 additions and 7 deletions

View File

@@ -2,9 +2,9 @@
* *
* $RCSfile: ZipPackageStream.cxx,v $ * $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 * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
@@ -151,7 +151,7 @@ void SAL_CALL ZipPackageStream::setInputStream( const Reference< io::XInputStrea
aEntry.nTime = -1; 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) throw(RuntimeException)
{ {
if (IsPackageMember()) if (IsPackageMember())
@@ -159,7 +159,7 @@ Reference< io::XInputStream > SAL_CALL ZipPackageStream::getRawStream( com::sun:
try try
{ {
xEncryptionData->aKey = rZipPackage.getEncryptionKey(); xEncryptionData->aKey = rZipPackage.getEncryptionKey();
return rZipPackage.getZipFile().getRawStream(rEntry, xEncryptionData); return rZipPackage.getZipFile().getRawStream(aEntry, xEncryptionData);
} }
catch (packages::ZipException &)//rException) catch (packages::ZipException &)//rException)
{ {

View File

@@ -2,9 +2,9 @@
* *
* $RCSfile: ZipPackageStream.hxx,v $ * $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 * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
@@ -125,7 +125,7 @@ public:
virtual ~ZipPackageStream( void ); virtual ~ZipPackageStream( void );
void setZipEntry( const com::sun::star::packages::ZipEntry &rInEntry); 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); throw(::com::sun::star::uno::RuntimeException);
// XInterface // XInterface