diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-10-08 21:56:41 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-10-09 08:05:49 +0200 |
commit | e44a0d23c658c1e34ae3d57e64fee6181cb2cf8b (patch) | |
tree | 8e0f9d97785a4f0d99ddf33760980889ff52df97 /sot | |
parent | 21aa14dcde323719c65d0ab685f746d1215ebc22 (diff) |
sot: prefix members of StgDataStrm
Change-Id: I643f0b9c6a0d2e5688f9b644666b405df2832d07
Diffstat (limited to 'sot')
-rw-r--r-- | sot/source/sdstor/stgstrms.cxx | 4 | ||||
-rw-r--r-- | sot/source/sdstor/stgstrms.hxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sot/source/sdstor/stgstrms.cxx b/sot/source/sdstor/stgstrms.cxx index f843c7fb248f..3d854813f522 100644 --- a/sot/source/sdstor/stgstrms.cxx +++ b/sot/source/sdstor/stgstrms.cxx @@ -814,7 +814,7 @@ void StgDataStrm::Init( sal_Int32 nBgn, sal_Int32 nLen ) nStart = nPage = nBgn; nSize = nLen; - nIncr = 1; + m_nIncr = 1; nOffset = 0; if( nLen < 0 && pFat ) { @@ -831,7 +831,7 @@ bool StgDataStrm::SetSize( sal_Int32 nBytes ) if ( !pFat ) return false; - nBytes = ( ( nBytes + nIncr - 1 ) / nIncr ) * nIncr; + nBytes = ( ( nBytes + m_nIncr - 1 ) / m_nIncr ) * m_nIncr; sal_Int32 nOldSz = nSize; if( ( nOldSz != nBytes ) ) { diff --git a/sot/source/sdstor/stgstrms.hxx b/sot/source/sdstor/stgstrms.hxx index 227029aee150..36be94255c0b 100644 --- a/sot/source/sdstor/stgstrms.hxx +++ b/sot/source/sdstor/stgstrms.hxx @@ -111,13 +111,13 @@ public: class StgDataStrm : public StgStrm // a physical data stream { - short nIncr; // size adjust increment + short m_nIncr; // size adjust increment void Init( sal_Int32 nBgn, sal_Int32 nLen ); public: StgDataStrm( StgIo&, sal_Int32 nBgn, sal_Int32 nLen=-1 ); StgDataStrm( StgIo&, StgDirEntry& ); void* GetPtr( sal_Int32 nPos, bool bForce, bool bDirty ); - void SetIncrement( short n ) { nIncr = n ; } + void SetIncrement( short n ) { m_nIncr = n ; } virtual bool SetSize( sal_Int32 ) SAL_OVERRIDE; virtual sal_Int32 Read( void*, sal_Int32 ) SAL_OVERRIDE; virtual sal_Int32 Write( const void*, sal_Int32 ) SAL_OVERRIDE; |