diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-10-08 20:17:41 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-10-09 08:05:43 +0200 |
commit | c7e4e197892319831de6b7a2fd007844237058c1 (patch) | |
tree | b224a278c2e94e791319e46fe246ed0d5d1415d4 /sot/source/sdstor/stgelem.hxx | |
parent | 7ca450cbe524807d51893382fcaa0d1a47c939c6 (diff) |
sot: prefix members of StgHeader
Change-Id: I4885ae825484afd53d7026a8d55a0ec8eddf4d86
Diffstat (limited to 'sot/source/sdstor/stgelem.hxx')
-rw-r--r-- | sot/source/sdstor/stgelem.hxx | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/sot/source/sdstor/stgelem.hxx b/sot/source/sdstor/stgelem.hxx index 678b5810d2db..35ad8259881c 100644 --- a/sot/source/sdstor/stgelem.hxx +++ b/sot/source/sdstor/stgelem.hxx @@ -35,25 +35,25 @@ class StgHeader { static const sal_uInt8 cFATPagesInHeader = 109; - sal_uInt8 cSignature[ 8 ]; // 00 signature (see below) - ClsId aClsId; // 08 Class ID - sal_Int32 nVersion; // 18 version number - sal_uInt16 nByteOrder; // 1C Unicode byte order indicator - sal_Int16 nPageSize; // 1E 1 << nPageSize = block size - sal_Int16 nDataPageSize; // 20 1 << this size == data block size - sal_uInt8 bDirty; // 22 internal dirty flag (should be + sal_uInt8 m_cSignature[ 8 ]; // 00 signature (see below) + ClsId m_aClsId; // 08 Class ID + sal_Int32 m_nVersion; // 18 version number + sal_uInt16 m_nByteOrder; // 1C Unicode byte order indicator + sal_Int16 m_nPageSize; // 1E 1 << nPageSize = block size + sal_Int16 m_nDataPageSize; // 20 1 << this size == data block size + sal_uInt8 m_bDirty; // 22 internal dirty flag (should be // bool, but probably required to // be exactly one byte) - sal_uInt8 cReserved[ 9 ]; // 23 - sal_Int32 nFATSize; // 2C total number of FAT pages - sal_Int32 nTOCstrm; // 30 starting page for the TOC stream - sal_Int32 nReserved; // 34 - sal_Int32 nThreshold; // 38 minimum file size for big data - sal_Int32 nDataFAT; // 3C page # of 1st data FAT block - sal_Int32 nDataFATSize; // 40 # of data fat blocks - sal_Int32 nMasterChain; // 44 chain to the next master block - sal_Int32 nMaster; // 48 # of additional master blocks - sal_Int32 nMasterFAT[ cFATPagesInHeader ]; // 4C first [cFATPagesInHeader] master FAT pages + sal_uInt8 m_cReserved[ 9 ]; // 23 + sal_Int32 m_nFATSize; // 2C total number of FAT pages + sal_Int32 m_nTOCstrm; // 30 starting page for the TOC stream + sal_Int32 m_nReserved; // 34 + sal_Int32 m_nThreshold; // 38 minimum file size for big data + sal_Int32 m_nDataFAT; // 3C page # of 1st data FAT block + sal_Int32 m_nDataFATSize; // 40 # of data fat blocks + sal_Int32 m_nMasterChain; // 44 chain to the next master block + sal_Int32 m_nMaster; // 48 # of additional master blocks + sal_Int32 m_nMasterFAT[ cFATPagesInHeader ]; // 4C first [cFATPagesInHeader] master FAT pages public: StgHeader(); @@ -62,20 +62,20 @@ public: bool Load( SvStream& ); bool Store( StgIo& ); bool Check(); // check the signature and version - sal_Int32 GetTOCStart() const { return nTOCstrm; } + sal_Int32 GetTOCStart() const { return m_nTOCstrm; } void SetTOCStart( sal_Int32 n ); - sal_Int32 GetDataFATStart() const { return nDataFAT; } + sal_Int32 GetDataFATStart() const { return m_nDataFAT; } void SetDataFATStart( sal_Int32 n ); - sal_Int32 GetDataFATSize() const { return nDataFATSize; } + sal_Int32 GetDataFATSize() const { return m_nDataFATSize; } void SetDataFATSize( sal_Int32 n ); - sal_Int32 GetThreshold() const { return nThreshold; } - short GetPageSize() const { return nPageSize; } - short GetDataPageSize() const { return nDataPageSize; } - sal_Int32 GetFATSize() const { return nFATSize; } + sal_Int32 GetThreshold() const { return m_nThreshold; } + short GetPageSize() const { return m_nPageSize; } + short GetDataPageSize() const { return m_nDataPageSize; } + sal_Int32 GetFATSize() const { return m_nFATSize; } void SetFATSize( sal_Int32 n ); - sal_Int32 GetFATChain() const { return nMasterChain; } + sal_Int32 GetFATChain() const { return m_nMasterChain; } void SetFATChain( sal_Int32 n ); - sal_Int32 GetMasters() const { return nMaster; } + sal_Int32 GetMasters() const { return m_nMaster; } void SetMasters( sal_Int32 n ); static short GetFAT1Size() { return cFATPagesInHeader; } sal_Int32 GetFATPage( short ) const; |