diff options
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; |