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/reflwrit.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/reflwrit.cxx')
-rw-r--r-- | registry/source/reflwrit.cxx | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/registry/source/reflwrit.cxx b/registry/source/reflwrit.cxx index 53476430287f..67a5b2552ff5 100644 --- a/registry/source/reflwrit.cxx +++ b/registry/source/reflwrit.cxx @@ -138,8 +138,8 @@ sal_uInt32 writeDouble(sal_uInt8* buffer, double v) double v; struct { - sal_uInt32 b1; - sal_uInt32 b2; + sal_uInt32 b1; + sal_uInt32 b2; } b; } x; @@ -175,7 +175,7 @@ sal_uInt32 writeDouble(sal_uInt8* buffer, double v) struct CPInfo { - CPInfoTag m_tag; + CPInfoTag const m_tag; union { const sal_Char* aUtf8; @@ -619,19 +619,19 @@ class TypeWriter public: sal_uInt32 m_refCount; - typereg_Version m_version; - RTTypeClass m_typeClass; - OString m_typeName; - sal_uInt16 m_nSuperTypes; + typereg_Version const m_version; + RTTypeClass const m_typeClass; + OString const m_typeName; + sal_uInt16 const m_nSuperTypes; std::unique_ptr<OString[]> m_superTypeNames; - OString m_doku; - OString m_fileName; - sal_uInt16 m_fieldCount; + OString const m_doku; + OString const m_fileName; + sal_uInt16 const m_fieldCount; FieldEntry* m_fields; - sal_uInt16 m_methodCount; + sal_uInt16 const m_methodCount; MethodEntry* m_methods; - sal_uInt16 m_referenceCount; + sal_uInt16 const m_referenceCount; ReferenceEntry* m_references; std::unique_ptr<sal_uInt8[]> m_blop; |