diff options
author | Matúš Kukan <matus.kukan@collabora.com> | 2014-10-15 13:07:43 +0200 |
---|---|---|
committer | Matúš Kukan <matus.kukan@collabora.com> | 2014-10-23 14:30:31 +0200 |
commit | 0e63397d7fda5325e83eaf439cdd745f797f885c (patch) | |
tree | edeef9a5cc3e53584da090cd4251fd83ad42e4da /package/inc | |
parent | 4b609883f908f566be4990f04c3368d1a5f27826 (diff) |
Remove pointless functions now that saveChild() is ZipPackageStream's member
Change-Id: Id43ec2e7ddb1035d3306170523764bb9a74c03b8
Diffstat (limited to 'package/inc')
-rw-r--r-- | package/inc/ZipPackageStream.hxx | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/package/inc/ZipPackageStream.hxx b/package/inc/ZipPackageStream.hxx index 758dbb8e4d70..356d42b78f11 100644 --- a/package/inc/ZipPackageStream.hxx +++ b/package/inc/ZipPackageStream.hxx @@ -75,9 +75,6 @@ private: ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream > GetOwnSeekStream(); public: - bool HasOwnKey () const { return m_bHaveOwnKey;} - bool IsToBeCompressed () const { return m_bToBeCompressed;} - bool IsToBeEncrypted () const { return m_bToBeEncrypted;} bool IsEncrypted () const { return m_bIsEncrypted;} bool IsPackageMember () const { return m_nStreamMode == PACKAGE_STREAM_PACKAGEMEMBER;} @@ -90,20 +87,6 @@ public: sal_Int32 GetStartKeyGenID(); - const com::sun::star::uno::Sequence < sal_Int8 > getInitialisationVector () const - { return m_xBaseEncryptionData->m_aInitVector;} - const com::sun::star::uno::Sequence < sal_Int8 > getDigest () const - { return m_xBaseEncryptionData->m_aDigest;} - const com::sun::star::uno::Sequence < sal_Int8 > getSalt () const - { return m_xBaseEncryptionData->m_aSalt;} - sal_Int32 getIterationCount () const - { return m_xBaseEncryptionData->m_nIterationCount;} - sal_Int64 getSize () const - { return aEntry.nSize;} - - sal_uInt8 GetStreamMode() const { return m_nStreamMode; } - sal_uInt32 GetMagicalHackPos() const { return m_nMagicalHackPos; } - sal_uInt32 GetMagicalHackSize() const { return m_nMagicalHackSize; } sal_Int32 GetEncryptionAlgorithm() const; sal_Int32 GetBlockSize() const; @@ -123,8 +106,6 @@ public: } void SetPackageMember (bool bNewValue); - void setKey (const com::sun::star::uno::Sequence < sal_Int8 >& rNewKey ) - { m_aEncryptionKey = rNewKey; m_aStorageEncryptionKeys.realloc( 0 ); } void setInitialisationVector (const com::sun::star::uno::Sequence < sal_Int8 >& rNewVector ) { m_xBaseEncryptionData->m_aInitVector = rNewVector;} void setSalt (const com::sun::star::uno::Sequence < sal_Int8 >& rNewSalt ) @@ -135,8 +116,6 @@ public: { m_xBaseEncryptionData->m_nIterationCount = nNewCount;} void setSize (const sal_Int64 nNewSize); - ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream > GetOwnStreamNoWrap() { return m_xStream; } - void CloseOwnStreamIfAny(); ZipPackageStream( ZipPackage & rNewPackage, |