diff options
author | Oliver Bolte <obo@openoffice.org> | 2008-10-10 13:02:43 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2008-10-10 13:02:43 +0000 |
commit | aba2169bfb03658f4be056b59b29657adbb9a6c2 (patch) | |
tree | c90c38d1c6065734677f6f938adbedf4d2bb5ed5 /package | |
parent | 63e30833f94fa7e76cc799402ba43071cff5d2d0 (diff) |
CWS-TOOLING: integrate CWS cmcfixes49
Diffstat (limited to 'package')
-rw-r--r-- | package/inc/ZipPackage.hxx | 4 | ||||
-rw-r--r-- | package/source/zippackage/ZipPackageStream.hxx | 30 |
2 files changed, 17 insertions, 17 deletions
diff --git a/package/inc/ZipPackage.hxx b/package/inc/ZipPackage.hxx index 65b062ad60f3..93d7b83c95ff 100644 --- a/package/inc/ZipPackage.hxx +++ b/package/inc/ZipPackage.hxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: ZipPackage.hxx,v $ - * $Revision: 1.41 $ + * $Revision: 1.41.20.1 $ * * This file is part of OpenOffice.org. * @@ -117,7 +117,7 @@ public: virtual ~ZipPackage( void ); ZipFile& getZipFile() { return *pZipFile;} const com::sun::star::uno::Sequence < sal_Int8 > & getEncryptionKey ( ) {return aEncryptionKey;} - const sal_Int16 getFormat() { return m_nFormat; } + sal_Int16 getFormat() const { return m_nFormat; } // XInitialization virtual void SAL_CALL initialize( const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& aArguments ) diff --git a/package/source/zippackage/ZipPackageStream.hxx b/package/source/zippackage/ZipPackageStream.hxx index 535c5ec5d94b..e0a2129c6519 100644 --- a/package/source/zippackage/ZipPackageStream.hxx +++ b/package/source/zippackage/ZipPackageStream.hxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: ZipPackageStream.hxx,v $ - * $Revision: 1.23 $ + * $Revision: 1.23.20.1 $ * * This file is part of OpenOffice.org. * @@ -79,29 +79,29 @@ protected: ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream >& GetOwnSeekStream(); public: - sal_Bool HasOwnKey () { return bHaveOwnKey;} - sal_Bool IsToBeCompressed () { return bToBeCompressed;} - sal_Bool IsToBeEncrypted () { return bToBeEncrypted;} - sal_Bool IsEncrypted () { return bIsEncrypted;} - sal_Bool IsPackageMember () { return m_nStreamMode == PACKAGE_STREAM_PACKAGEMEMBER;} + sal_Bool HasOwnKey () const { return bHaveOwnKey;} + sal_Bool IsToBeCompressed () const { return bToBeCompressed;} + sal_Bool IsToBeEncrypted () const { return bToBeEncrypted;} + sal_Bool IsEncrypted () const { return bIsEncrypted;} + sal_Bool IsPackageMember () const { return m_nStreamMode == PACKAGE_STREAM_PACKAGEMEMBER;} vos::ORef < EncryptionData > & getEncryptionData () { return xEncryptionData;} - const com::sun::star::uno::Sequence < sal_Int8 >& getKey () + const com::sun::star::uno::Sequence < sal_Int8 >& getKey () const { return xEncryptionData->aKey;} - const com::sun::star::uno::Sequence < sal_uInt8 >& getInitialisationVector () + const com::sun::star::uno::Sequence < sal_uInt8 >& getInitialisationVector () const { return xEncryptionData->aInitVector;} - const com::sun::star::uno::Sequence < sal_uInt8 >& getDigest () + const com::sun::star::uno::Sequence < sal_uInt8 >& getDigest () const { return xEncryptionData->aDigest;} - const com::sun::star::uno::Sequence < sal_uInt8 >& getSalt () + const com::sun::star::uno::Sequence < sal_uInt8 >& getSalt () const { return xEncryptionData->aSalt;} - const sal_Int32 getIterationCount () + sal_Int32 getIterationCount () const { return xEncryptionData->nIterationCount;} - const sal_Int32 getSize () + sal_Int32 getSize () const { return aEntry.nSize;} - sal_uInt8 GetStreamMode() { return m_nStreamMode; } - sal_uInt32 GetMagicalHackPos() { return m_nMagicalHackPos; } - sal_uInt32 GetMagicalHackSize() { return m_nMagicalHackSize; } + sal_uInt8 GetStreamMode() const { return m_nStreamMode; } + sal_uInt32 GetMagicalHackPos() const { return m_nMagicalHackPos; } + sal_uInt32 GetMagicalHackSize() const { return m_nMagicalHackSize; } void SetToBeCompressed (sal_Bool bNewValue) { bToBeCompressed = bNewValue;} void SetIsEncrypted (sal_Bool bNewValue) { bIsEncrypted = bNewValue;} |