diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-21 20:06:19 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-22 09:34:43 +0200 |
commit | 7a769391772b1184d801a123fb226017e8d65848 (patch) | |
tree | 41e5a167d37a549d54bf4ad0b12b48b9c3221ac9 /package/source/xstor/owriteablestream.hxx | |
parent | d5b07dc9c0185e59077e54c91792476dcbba8d44 (diff) |
loplugin:constmethod in package
Change-Id: I44bc86a179164e1d039dd3a5f2c8a23396d870b3
Reviewed-on: https://gerrit.libreoffice.org/77931
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'package/source/xstor/owriteablestream.hxx')
-rw-r--r-- | package/source/xstor/owriteablestream.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/source/xstor/owriteablestream.hxx b/package/source/xstor/owriteablestream.hxx index 629d679fdccf..818aec0b7942 100644 --- a/package/source/xstor/owriteablestream.hxx +++ b/package/source/xstor/owriteablestream.hxx @@ -161,10 +161,10 @@ public: void SetToBeCommited() { m_bFlushed = true; } - bool HasCachedEncryptionData() { return m_bHasCachedEncryptionData; } + bool HasCachedEncryptionData() const { return m_bHasCachedEncryptionData; } ::comphelper::SequenceAsHashMap& GetCachedEncryptionData() { return m_aEncryptionData; } - bool IsModified() { return m_bHasDataToFlush || m_bFlushed; } + bool IsModified() const { return m_bHasDataToFlush || m_bFlushed; } bool IsEncrypted(); void SetDecrypted(); |