diff options
Diffstat (limited to 'package/inc')
-rw-r--r-- | package/inc/CRC32.hxx | 2 | ||||
-rw-r--r-- | package/inc/ZipOutputEntry.hxx | 2 | ||||
-rw-r--r-- | package/inc/ZipOutputStream.hxx | 4 | ||||
-rw-r--r-- | package/inc/ZipPackageStream.hxx | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/package/inc/CRC32.hxx b/package/inc/CRC32.hxx index e19ed60d99c3..0791875217cb 100644 --- a/package/inc/CRC32.hxx +++ b/package/inc/CRC32.hxx @@ -39,7 +39,7 @@ public: /// @throws css::uno::RuntimeException void update(const css::uno::Sequence< sal_Int8 > &b); /// @throws css::uno::RuntimeException - sal_Int32 getValue(); + sal_Int32 getValue() const; /// @throws css::uno::RuntimeException void reset(); }; diff --git a/package/inc/ZipOutputEntry.hxx b/package/inc/ZipOutputEntry.hxx index 7234d890f4c2..3bace59698b5 100644 --- a/package/inc/ZipOutputEntry.hxx +++ b/package/inc/ZipOutputEntry.hxx @@ -57,7 +57,7 @@ public: ZipEntry* getZipEntry() { return m_pCurrentEntry; } ZipPackageStream* getZipPackageStream() { return m_pCurrentStream; } - bool isEncrypt() { return m_bEncryptCurrentEntry; } + bool isEncrypt() const { return m_bEncryptCurrentEntry; } void closeEntry(); diff --git a/package/inc/ZipOutputStream.hxx b/package/inc/ZipOutputStream.hxx index b527abde1443..aeb7ab1f86e8 100644 --- a/package/inc/ZipOutputStream.hxx +++ b/package/inc/ZipOutputStream.hxx @@ -63,7 +63,7 @@ public: /// @throws css::io::IOException /// @throws css::uno::RuntimeException void finish(); - const css::uno::Reference< css::io::XOutputStream >& getStream(); + const css::uno::Reference< css::io::XOutputStream >& getStream() const; static sal_uInt32 getCurrentDosTime(); static void setEntry( ZipEntry *pEntry ); @@ -87,7 +87,7 @@ public: void reduceScheduledThreadTasksToGivenNumberOrLess( sal_Int32 nThreadTasks); - const std::shared_ptr<comphelper::ThreadTaskTag>& getThreadTaskTag() { return mpThreadTaskTag; } + const std::shared_ptr<comphelper::ThreadTaskTag>& getThreadTaskTag() const { return mpThreadTaskTag; } }; #endif diff --git a/package/inc/ZipPackageStream.hxx b/package/inc/ZipPackageStream.hxx index 7909c8818107..ffd791c8aca0 100644 --- a/package/inc/ZipPackageStream.hxx +++ b/package/inc/ZipPackageStream.hxx @@ -87,7 +87,7 @@ public: css::uno::Sequence<sal_Int8> GetEncryptionKey(Bugs bugs = Bugs::None); - sal_Int32 GetStartKeyGenID(); + sal_Int32 GetStartKeyGenID() const; sal_Int32 GetEncryptionAlgorithm() const; sal_Int32 GetBlockSize() const; |