diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-12-05 09:14:32 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-12-05 10:39:35 +0100 |
commit | 57fb44833f7a4bdde741ad7d424ddf9f399fcf8d (patch) | |
tree | 83f4b23f89a66a0d78695168244a66d5476de23e /sw/inc/bparr.hxx | |
parent | eab6ed9f00c3eeb9f4d54fb4e77369d521c7a3da (diff) |
sw: prefix members of BigPtrEntry
Change-Id: Ibe1f647e7e370287e2b4d6110e66b726ddda8e3a
Diffstat (limited to 'sw/inc/bparr.hxx')
-rw-r--r-- | sw/inc/bparr.hxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sw/inc/bparr.hxx b/sw/inc/bparr.hxx index 53a3f184bc36..cbb63d36956a 100644 --- a/sw/inc/bparr.hxx +++ b/sw/inc/bparr.hxx @@ -31,10 +31,10 @@ class BigPtrArray; class BigPtrEntry { friend class BigPtrArray; - BlockInfo* pBlock; - sal_uInt16 nOffset; + BlockInfo* m_pBlock; + sal_uInt16 m_nOffset; public: - BigPtrEntry() : pBlock(nullptr), nOffset(0) {} + BigPtrEntry() : m_pBlock(nullptr), m_nOffset(0) {} virtual ~BigPtrEntry() {} inline sal_uLong GetPos() const; @@ -92,13 +92,13 @@ public: inline sal_uLong BigPtrEntry::GetPos() const { - assert(this == pBlock->pData[ nOffset ]); // element not in the block - return pBlock->nStart + nOffset; + assert(this == m_pBlock->pData[ m_nOffset ]); // element not in the block + return m_pBlock->nStart + m_nOffset; } inline BigPtrArray& BigPtrEntry::GetArray() const { - return *pBlock->pBigArr; + return *m_pBlock->pBigArr; } #endif |