summaryrefslogtreecommitdiff
path: root/sot/source/sdstor/stgdir.hxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2015-10-08 21:43:30 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-10-09 08:05:44 +0200
commit745c0074f9d18f5c6184ecbd6438b04f27b756d1 (patch)
tree30eb69ba1cfa2baa1b174a9cbc0043cb30a156a2 /sot/source/sdstor/stgdir.hxx
parent1d5f31378ae9a0047c48b51bc0934a7d4fa41026 (diff)
sot: prefix members of StgDirEntry
Change-Id: Ic861d57e62cdeec7b2864eb4d1d19a1780382313
Diffstat (limited to 'sot/source/sdstor/stgdir.hxx')
-rw-r--r--sot/source/sdstor/stgdir.hxx44
1 files changed, 22 insertions, 22 deletions
diff --git a/sot/source/sdstor/stgdir.hxx b/sot/source/sdstor/stgdir.hxx
index 0f945b36b5fe..bd6cfb3a0456 100644
--- a/sot/source/sdstor/stgdir.hxx
+++ b/sot/source/sdstor/stgdir.hxx
@@ -34,19 +34,19 @@ class StgDirEntry : public StgAvlNode
{
friend class StgIterator;
friend class StgDirStrm;
- StgEntry aSave; // original dir entry
- StgDirEntry* pUp; // parent directory
- StgDirEntry* pDown; // child directory for storages
- StgDirEntry** ppRoot; // root of TOC tree
- StgStrm* pStgStrm; // storage stream
- StgTmpStrm* pTmpStrm; // temporary stream
- StgTmpStrm* pCurStrm; // temp stream after commit
- sal_Int32 nEntry; // entry # in TOC stream (temp)
- sal_Int32 nPos; // current position
- bool bDirty; // dirty directory entry
- bool bCreated; // newly created entry
- bool bRemoved; // removed per Invalidate()
- bool bRenamed; // renamed
+ StgEntry m_aSave; // original dir entry
+ StgDirEntry* m_pUp; // parent directory
+ StgDirEntry* m_pDown; // child directory for storages
+ StgDirEntry** m_ppRoot; // root of TOC tree
+ StgStrm* m_pStgStrm; // storage stream
+ StgTmpStrm* m_pTmpStrm; // temporary stream
+ StgTmpStrm* m_pCurStrm; // temp stream after commit
+ sal_Int32 m_nEntry; // entry # in TOC stream (temp)
+ sal_Int32 m_nPos; // current position
+ bool m_bDirty; // dirty directory entry
+ bool m_bCreated; // newly created entry
+ bool m_bRemoved; // removed per Invalidate()
+ bool m_bRenamed; // renamed
void InitMembers(); // ctor helper
virtual short Compare( const StgAvlNode* ) const SAL_OVERRIDE;
bool StoreStream( StgIo& ); // store the stream
@@ -55,13 +55,13 @@ class StgDirEntry : public StgAvlNode
bool Strm2Tmp(); // copy stgstream to temp file
bool Tmp2Strm(); // copy temp file to stgstream
public:
- StgEntry aEntry; // entry data
- sal_Int32 nRefCnt; // reference count
- StreamMode nMode; // open mode
- bool bTemp; // true: delete on dir flush
- bool bDirect; // true: direct mode
- bool bZombie; // true: Removed From StgIo
- bool bInvalid; // true: invalid entry
+ StgEntry m_aEntry; // entry data
+ sal_Int32 m_nRefCnt; // reference count
+ StreamMode m_nMode; // open mode
+ bool m_bTemp; // true: delete on dir flush
+ bool m_bDirect; // true: direct mode
+ bool m_bZombie; // true: Removed From StgIo
+ bool m_bInvalid; // true: invalid entry
StgDirEntry(const void* pBuffer, sal_uInt32 nBufferLen,
sal_uInt64 nUnderlyingStreamSize, bool * pbOk);
explicit StgDirEntry( const StgEntry& );
@@ -73,7 +73,7 @@ public:
bool Store( StgDirStrm& ); // save entry into dir strm
bool IsContained( StgDirEntry* ); // check if subentry
- void SetDirty() { bDirty = true; }
+ void SetDirty() { m_bDirty = true; }
bool IsDirty();
bool Commit();
@@ -108,7 +108,7 @@ public:
class StgIterator : public StgAvlIterator
{
public:
- explicit StgIterator( StgDirEntry& rStg ) : StgAvlIterator( rStg.pDown ) {}
+ explicit StgIterator( StgDirEntry& rStg ) : StgAvlIterator( rStg.m_pDown ) {}
StgDirEntry* First() { return static_cast<StgDirEntry*>( StgAvlIterator::First() ); }
StgDirEntry* Next() { return static_cast<StgDirEntry*>( StgAvlIterator::Next() ); }
};