diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-10-18 15:18:44 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-10-19 06:33:41 +0000 |
commit | e140e40c12118f3af630545a773bece8aaf3a18c (patch) | |
tree | b3644bf17752a292649682139fb42cd832a5d4d0 /package | |
parent | 0aa24916cbea2ab3a843217be2c3be6c32c42ad5 (diff) |
loplugin:expandablemethodds in lotuswordpro..package
Change-Id: Id33d88edc4be00f4238792d885e392cc08e72386
Reviewed-on: https://gerrit.libreoffice.org/30017
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
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; |