Remove unnecessary parameter from getRawStream (rEntry should always be aEntry)
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user