summaryrefslogtreecommitdiff
path: root/store/source
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-10-08 09:09:08 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-10-08 11:09:03 +0200
commit0ddf3e0a628599d01356cb5262b93faca073ee9f (patch)
treee0b1a75ffb25f77156ad99c4627555e9a17b25f7 /store/source
parentb5d5032ce9b40cdca233f6f8951fa056262ec041 (diff)
loplugin:constfields in stoc..svgio
Change-Id: Icfd936fe9b83e0e122af5b09f7ed6dde2ead4400 Reviewed-on: https://gerrit.libreoffice.org/61512 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'store/source')
-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 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<PageData> m_xPage;
- sal_uInt32 m_nOffset;
+ sal_uInt32 const m_nOffset;
Entry * m_pNext;
// Allocation