diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-12 14:48:15 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-13 07:43:45 +0200 |
commit | 31138ff7729cbf179079a5e635d3a823e2971f08 (patch) | |
tree | 4d05cd7f9aa57e8fb0a52002352a25259345d03f /registry/source/reflread.cxx | |
parent | 67bf520af2448e15802a5c0af977f3e1e7edb1bf (diff) |
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 'registry/source/reflread.cxx')
-rw-r--r-- | registry/source/reflread.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/registry/source/reflread.cxx b/registry/source/reflread.cxx index c459bab9a8fb..1b0345145989 100644 --- a/registry/source/reflread.cxx +++ b/registry/source/reflread.cxx @@ -213,7 +213,7 @@ class ConstantPool : public BlopObject { public: - sal_uInt16 m_numOfEntries; + sal_uInt16 const m_numOfEntries; std::unique_ptr<sal_Int32[]> m_pIndex; // index values may be < 0 for cached string constants std::unique_ptr<StringCache> m_pStringCache; @@ -529,9 +529,9 @@ class FieldList : public BlopObject { public: - sal_uInt16 m_numOfEntries; + sal_uInt16 const m_numOfEntries; size_t m_FIELD_ENTRY_SIZE; - ConstantPool* m_pCP; + ConstantPool* const m_pCP; FieldList(const sal_uInt8* buffer, sal_uInt32 len, sal_uInt16 numEntries, ConstantPool* pCP) : BlopObject(buffer, len) @@ -713,9 +713,9 @@ class ReferenceList : public BlopObject { public: - sal_uInt16 m_numOfEntries; + sal_uInt16 const m_numOfEntries; size_t m_REFERENCE_ENTRY_SIZE; - ConstantPool* m_pCP; + ConstantPool* const m_pCP; ReferenceList(const sal_uInt8* buffer, sal_uInt32 len, sal_uInt16 numEntries, ConstantPool* pCP) : BlopObject(buffer, len) @@ -813,10 +813,10 @@ class MethodList : public BlopObject { public: - sal_uInt16 m_numOfEntries; + sal_uInt16 const m_numOfEntries; size_t m_PARAM_ENTRY_SIZE; std::unique_ptr<sal_uInt32[]> m_pIndex; - ConstantPool* m_pCP; + ConstantPool* const m_pCP; MethodList(const sal_uInt8* buffer, sal_uInt32 len, sal_uInt16 numEntries, ConstantPool* pCP) : BlopObject(buffer, len) |