diff options
Diffstat (limited to 'package')
-rw-r--r-- | package/inc/ZipPackageStream.hxx | 1 | ||||
-rw-r--r-- | package/source/zippackage/ZipPackageStream.cxx | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/package/inc/ZipPackageStream.hxx b/package/inc/ZipPackageStream.hxx index bd1367bab7fa..d6e1763e86af 100644 --- a/package/inc/ZipPackageStream.hxx +++ b/package/inc/ZipPackageStream.hxx @@ -77,7 +77,6 @@ private: throw(css::uno::RuntimeException); public: - bool IsEncrypted () const { return m_bIsEncrypted;} bool IsPackageMember () const { return m_nStreamMode == PACKAGE_STREAM_PACKAGEMEMBER;} bool IsFromManifest() const { return m_bFromManifest; } diff --git a/package/source/zippackage/ZipPackageStream.cxx b/package/source/zippackage/ZipPackageStream.cxx index 45d1dcb9be56..90fb399379b3 100644 --- a/package/source/zippackage/ZipPackageStream.cxx +++ b/package/source/zippackage/ZipPackageStream.cxx @@ -920,7 +920,7 @@ void ZipPackageStream::successfullyWritten( ZipEntry *pEntry ) ZipPackageFolder::copyZipEntry( aEntry, *pEntry ); // TODO/LATER: get rid of this hack ( the encrypted stream size property is changed during saving ) - if ( IsEncrypted() ) + if ( m_bIsEncrypted ) setSize( m_nOwnStreamOrigSize ); aEntry.nOffset *= -1; |