summaryrefslogtreecommitdiffstats
path: root/package/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-10-12 14:48:15 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-10-13 07:43:45 +0200
commit31138ff7729cbf179079a5e635d3a823e2971f08 (patch)
tree4d05cd7f9aa57e8fb0a52002352a25259345d03f /package/inc
parentKJ: Change close doc icon, change some graphic icons (diff)
downloadcore-31138ff7729cbf179079a5e635d3a823e2971f08.tar.gz
core-31138ff7729cbf179079a5e635d3a823e2971f08.zip
loplugin:constfields in package..registry
Change-Id: Ie139490f2b008bf294910d002af711f8f41fe76d Reviewed-on: https://gerrit.libreoffice.org/61727 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'package/inc')
-rw-r--r--package/inc/EncryptionData.hxx10
-rw-r--r--package/inc/ZipFile.hxx2
-rw-r--r--package/inc/ZipOutputEntry.hxx2
3 files changed, 7 insertions, 7 deletions
diff --git a/package/inc/EncryptionData.hxx b/package/inc/EncryptionData.hxx
index c7c6ffb3555e..66f8aeb5881a 100644
--- a/package/inc/EncryptionData.hxx
+++ b/package/inc/EncryptionData.hxx
@@ -46,11 +46,11 @@ class EncryptionData : public BaseEncryptionData
{
public:
css::uno::Sequence < sal_Int8 > m_aKey;
- sal_Int32 m_nEncAlg;
- sal_Int32 m_nCheckAlg;
- sal_Int32 m_nDerivedKeySize;
- sal_Int32 m_nStartKeyGenID;
- bool m_bTryWrongSHA1;
+ sal_Int32 const m_nEncAlg;
+ sal_Int32 const m_nCheckAlg;
+ sal_Int32 const m_nDerivedKeySize;
+ sal_Int32 const m_nStartKeyGenID;
+ bool const m_bTryWrongSHA1;
EncryptionData(const BaseEncryptionData& aData, const css::uno::Sequence< sal_Int8 >& aKey, sal_Int32 nEncAlg, sal_Int32 nCheckAlg, sal_Int32 nDerivedKeySize, sal_Int32 nStartKeyGenID, bool const bTryWrongSHA1)
: BaseEncryptionData( aData )
diff --git a/package/inc/ZipFile.hxx b/package/inc/ZipFile.hxx
index 3dceb036c3bd..58755d4ad2c7 100644
--- a/package/inc/ZipFile.hxx
+++ b/package/inc/ZipFile.hxx
@@ -62,7 +62,7 @@ class ZipFile
css::uno::Reference < css::io::XInputStream > xStream;
const css::uno::Reference < css::uno::XComponentContext > m_xContext;
- bool bRecoveryMode;
+ bool const bRecoveryMode;
// aMediaType parameter is used only for raw stream header creation
css::uno::Reference < css::io::XInputStream > createStreamForZipEntry(
diff --git a/package/inc/ZipOutputEntry.hxx b/package/inc/ZipOutputEntry.hxx
index d95ffd4969ab..15c94aecc14b 100644
--- a/package/inc/ZipOutputEntry.hxx
+++ b/package/inc/ZipOutputEntry.hxx
@@ -53,7 +53,7 @@ class ZipOutputEntry
ZipEntry *m_pCurrentEntry;
sal_Int16 m_nDigested;
ZipPackageStream* m_pCurrentStream;
- bool m_bEncryptCurrentEntry;
+ bool const m_bEncryptCurrentEntry;
std::atomic<bool> m_bFinished;
public: