From 2eb0e7594cc875dd0960822d9403b573ac00f739 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 13 Mar 2020 09:59:10 +0200 Subject: Revert "loplugin:constfields in stoc..svgio" This reverts commit 0ddf3e0a628599d01356cb5262b93faca073ee9f. Change-Id: I3e476399a465950defc15ac4d6199a638c4a4baf Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90452 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') diff --git a/store/source/lockbyte.cxx b/store/source/lockbyte.cxx index 139857440dfb..2806dc5a3693 100644 --- a/store/source/lockbyte.cxx +++ b/store/source/lockbyte.cxx @@ -282,7 +282,7 @@ class FileLockBytes : { /** Representation. */ - oslFileHandle const m_hFile; + oslFileHandle m_hFile; sal_uInt32 m_nSize; rtl::Reference< PageData::Allocator > m_xAllocator; @@ -510,10 +510,10 @@ class MappedLockBytes : { /** Representation. */ - sal_uInt8 * const m_pData; - sal_uInt32 const m_nSize; + sal_uInt8 * m_pData; + sal_uInt32 m_nSize; sal_uInt16 m_nPageSize; - oslFileHandle const m_hFile; + oslFileHandle m_hFile; /** PageData::Allocator implementation. */ diff --git a/store/source/storcach.cxx b/store/source/storcach.cxx index 08f63a46e0fb..c3db00d21f84 100644 --- a/store/source/storcach.cxx +++ b/store/source/storcach.cxx @@ -42,7 +42,7 @@ struct Entry { // Representation std::shared_ptr m_xPage; - sal_uInt32 const m_nOffset; + sal_uInt32 m_nOffset; Entry * m_pNext; // Allocation -- cgit