diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-10-13 09:37:32 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-10-13 09:37:49 +0200 |
commit | 3f7d7a218eac78e8bcbb8575f2727074baf4b924 (patch) | |
tree | fcd9c489f09448d6ce70c17d44916451e17a5843 /sot/source/sdstor/stgstrms.hxx | |
parent | 11b3555e2f8e8c9b07c73fbfb89a0faffaeca269 (diff) |
sot: prefix remaining StgStrm members
Change-Id: I2a70543bf3137f8d5a76e610a2aff6a3a3fcab4e
Diffstat (limited to 'sot/source/sdstor/stgstrms.hxx')
-rw-r--r-- | sot/source/sdstor/stgstrms.hxx | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/sot/source/sdstor/stgstrms.hxx b/sot/source/sdstor/stgstrms.hxx index 9bcacb66acab..b3c8a18feb6c 100644 --- a/sot/source/sdstor/stgstrms.hxx +++ b/sot/source/sdstor/stgstrms.hxx @@ -61,27 +61,27 @@ public: class StgStrm { // base class for all streams protected: - StgIo& rIo; // I/O system + StgIo& m_rIo; // I/O system StgFAT* m_pFat; // FAT stream for allocations - StgDirEntry* pEntry; // dir entry (for ownership) - sal_Int32 nStart; // 1st data page - sal_Int32 nSize; // stream size in bytes + StgDirEntry* m_pEntry; // dir entry (for ownership) + sal_Int32 m_nStart; // 1st data page + sal_Int32 m_nSize; // stream size in bytes sal_Int32 m_nPos; // current byte position - sal_Int32 nPage; // current logical page + sal_Int32 m_nPage; // current logical page short m_nOffset; // offset into current page - short nPageSize; // logical page size + short m_nPageSize; // logical page size std::vector<sal_Int32> m_aPagesCache; void scanBuildPageChainCache(sal_Int32 *pOptionalCalcSize = NULL); bool Copy( sal_Int32 nFrom, sal_Int32 nBytes ); explicit StgStrm( StgIo& ); public: virtual ~StgStrm(); - StgIo& GetIo() { return rIo; } + StgIo& GetIo() { return m_rIo; } sal_Int32 GetPos() const { return m_nPos; } - sal_Int32 GetStart() const { return nStart; } - sal_Int32 GetSize() const { return nSize; } - sal_Int32 GetPage() const { return nPage; } - sal_Int32 GetPages() const { return ( nSize + nPageSize - 1 ) / nPageSize;} + sal_Int32 GetStart() const { return m_nStart; } + sal_Int32 GetSize() const { return m_nSize; } + sal_Int32 GetPage() const { return m_nPage; } + sal_Int32 GetPages() const { return ( m_nSize + m_nPageSize - 1 ) / m_nPageSize;} short GetOffset() const { return m_nOffset;} void SetEntry( StgDirEntry& ); virtual bool SetSize( sal_Int32 ); |