From 0ddf3e0a628599d01356cb5262b93faca073ee9f Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 8 Oct 2018 09:09:08 +0200 Subject: loplugin:constfields in stoc..svgio Change-Id: Icfd936fe9b83e0e122af5b09f7ed6dde2ead4400 Reviewed-on: https://gerrit.libreoffice.org/61512 Tested-by: Jenkins Reviewed-by: Noel Grandin --- store/source/lockbyte.cxx | 8 ++++---- store/source/storcach.cxx | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'store/source') diff --git a/store/source/lockbyte.cxx b/store/source/lockbyte.cxx index 444772e8ff8d..20740b43804a 100644 --- a/store/source/lockbyte.cxx +++ b/store/source/lockbyte.cxx @@ -282,7 +282,7 @@ class FileLockBytes : { /** Representation. */ - oslFileHandle m_hFile; + oslFileHandle const m_hFile; sal_uInt32 m_nSize; rtl::Reference< PageData::Allocator > m_xAllocator; @@ -506,10 +506,10 @@ class MappedLockBytes : { /** Representation. */ - sal_uInt8 * m_pData; - sal_uInt32 m_nSize; + sal_uInt8 * const m_pData; + sal_uInt32 const m_nSize; sal_uInt16 m_nPageSize; - oslFileHandle m_hFile; + oslFileHandle const m_hFile; /** PageData::Allocator implementation. */ diff --git a/store/source/storcach.cxx b/store/source/storcach.cxx index a1037095c933..ab89b50eb904 100644 --- a/store/source/storcach.cxx +++ b/store/source/storcach.cxx @@ -43,7 +43,7 @@ struct Entry { // Representation std::shared_ptr m_xPage; - sal_uInt32 m_nOffset; + sal_uInt32 const m_nOffset; Entry * m_pNext; // Allocation -- cgit