summaryrefslogtreecommitdiff
path: root/store
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-03-13 09:59:10 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-03-14 07:54:02 +0100
commit2eb0e7594cc875dd0960822d9403b573ac00f739 (patch)
tree28ae250f91eff446da9dfafee1465be66abba2e5 /store
parentf2193de6c39a783b1111f9825a30cf2c2fa78206 (diff)
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 <noel.grandin@collabora.co.uk>
Diffstat (limited to 'store')
-rw-r--r--store/source/lockbyte.cxx8
-rw-r--r--store/source/storcach.cxx2
2 files changed, 5 insertions, 5 deletions
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<PageData> m_xPage;
- sal_uInt32 const m_nOffset;
+ sal_uInt32 m_nOffset;
Entry * m_pNext;
// Allocation