diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-10-08 21:47:54 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-10-09 08:05:46 +0200 |
commit | 0df69aa16a31c8aebad9ddc38072a8ec13b01dd1 (patch) | |
tree | a3404f40cd091723e295f261d549d201c0af984f /sot | |
parent | b5475c7a21bd5a63ec41e1ac5d83cdbc01e63a76 (diff) |
sot: prefix members of StgAvlIterator
Change-Id: I39254b14b5f167cfb180f989c56d7db88b73b8f0
Diffstat (limited to 'sot')
-rw-r--r-- | sot/source/sdstor/stgavl.cxx | 14 | ||||
-rw-r--r-- | sot/source/sdstor/stgavl.hxx | 6 |
2 files changed, 10 insertions, 10 deletions
diff --git a/sot/source/sdstor/stgavl.cxx b/sot/source/sdstor/stgavl.cxx index be26ac00f909..8baa8cf2bb7a 100644 --- a/sot/source/sdstor/stgavl.cxx +++ b/sot/source/sdstor/stgavl.cxx @@ -373,16 +373,16 @@ bool StgAvlNode::Remove( StgAvlNode** pRoot, StgAvlNode* pDel, bool bDel ) StgAvlIterator::StgAvlIterator( StgAvlNode* p ) { - pRoot = p; - nCount = 0; - nCur = 0; + m_pRoot = p; + m_nCount = 0; + m_nCur = 0; if( p ) - p->StgEnum( nCount ); + p->StgEnum( m_nCount ); } StgAvlNode* StgAvlIterator::Find( short n ) { - StgAvlNode* p = pRoot; + StgAvlNode* p = m_pRoot; while( p ) { if( n == p->nId ) @@ -394,13 +394,13 @@ StgAvlNode* StgAvlIterator::Find( short n ) StgAvlNode* StgAvlIterator::First() { - nCur = -1; + m_nCur = -1; return Next(); } StgAvlNode* StgAvlIterator::Next() { - return Find( ++nCur ); + return Find( ++m_nCur ); } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sot/source/sdstor/stgavl.hxx b/sot/source/sdstor/stgavl.hxx index 81109619ac42..5b29d0f7d2c7 100644 --- a/sot/source/sdstor/stgavl.hxx +++ b/sot/source/sdstor/stgavl.hxx @@ -51,9 +51,9 @@ public: // The iterator class provides single stepping through an AVL tree. class StgAvlIterator { - StgAvlNode* pRoot; // root entry (parent) - short nCount; // tree size - short nCur; // current element + StgAvlNode* m_pRoot; // root entry (parent) + short m_nCount; // tree size + short m_nCur; // current element StgAvlNode* Find( short ); public: explicit StgAvlIterator( StgAvlNode* ); |