summaryrefslogtreecommitdiff
path: root/package/source/zippackage/ZipPackageStream.hxx
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2008-10-10 13:02:43 +0000
committerOliver Bolte <obo@openoffice.org>2008-10-10 13:02:43 +0000
commitaba2169bfb03658f4be056b59b29657adbb9a6c2 (patch)
treec90c38d1c6065734677f6f938adbedf4d2bb5ed5 /package/source/zippackage/ZipPackageStream.hxx
parent63e30833f94fa7e76cc799402ba43071cff5d2d0 (diff)
CWS-TOOLING: integrate CWS cmcfixes49
Diffstat (limited to 'package/source/zippackage/ZipPackageStream.hxx')
-rw-r--r--package/source/zippackage/ZipPackageStream.hxx30
1 files changed, 15 insertions, 15 deletions
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;}