diff options
author | Michael Stahl <mstahl@redhat.com> | 2014-03-29 01:19:24 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-03-29 02:03:07 +0100 |
commit | 1258b576aef2ff3cdd4f44e1c03edb8c862a79f6 (patch) | |
tree | 80bbe4b11f5f7149ee64d50ecd55eb15e79839df /lotuswordpro | |
parent | 19bbfc0b39d79a90539fd3094d9b6d7d81619a45 (diff) |
tools: support 64-bit file positions in SvStream
Bump stream positions to 64 bits on:
SvLockBytes::SetSize()
SvStream::SeekPos()
SvStream::SetSize()
SvStream::SetStreamSize()
SvStream::Seek()
SvStream::SeekRel()
SvStream::Tell()
SvStream::remainingSize()
SvStream::nActPos
SvStream::nBufFilePos
Change-Id: I0521fd60d31d1a33e5634cbf51dd42edc46ad919
TODO: adapt callers of Seek()/SeekRel()/Tell()/remainingSize()
Diffstat (limited to 'lotuswordpro')
-rw-r--r-- | lotuswordpro/source/filter/bento.hxx | 4 | ||||
-rw-r--r-- | lotuswordpro/source/filter/utbenvs.cxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lotuswordpro/source/filter/bento.hxx b/lotuswordpro/source/filter/bento.hxx index b27f95713fef..54d1925bf539 100644 --- a/lotuswordpro/source/filter/bento.hxx +++ b/lotuswordpro/source/filter/bento.hxx @@ -190,8 +190,8 @@ protected: // Overridden methods virtual sal_uLong GetData( void* pData, sal_uLong nSize ) SAL_OVERRIDE; virtual sal_uLong PutData( const void* pData, sal_uLong nSize ) SAL_OVERRIDE; - virtual sal_uLong SeekPos( sal_uLong nPos ) SAL_OVERRIDE; - virtual void SetSize( sal_uLong nSize ) SAL_OVERRIDE; + virtual sal_uInt64 SeekPos( sal_uInt64 nPos ) SAL_OVERRIDE; + virtual void SetSize( sal_uInt64 nSize ) SAL_OVERRIDE; virtual void FlushData() SAL_OVERRIDE; private: // Data diff --git a/lotuswordpro/source/filter/utbenvs.cxx b/lotuswordpro/source/filter/utbenvs.cxx index 4bbc6b848656..ea67781276d5 100644 --- a/lotuswordpro/source/filter/utbenvs.cxx +++ b/lotuswordpro/source/filter/utbenvs.cxx @@ -97,7 +97,7 @@ sal_uLong LtcUtBenValueStream::PutData( const void* /*pData*/, sal_uLong nSize * @param position in value stream * @return current position in value stream */ - sal_uLong LtcUtBenValueStream::SeekPos( sal_uLong nPos ) +sal_uInt64 LtcUtBenValueStream::SeekPos(sal_uInt64 const nPos) { if (nPos <= m_ulValueLength) cCurrentPosition = nPos; @@ -111,7 +111,7 @@ sal_uLong LtcUtBenValueStream::PutData( const void* /*pData*/, sal_uLong nSize * @param size of buffer * @return */ - void LtcUtBenValueStream::SetSize( sal_uLong /*nSize*/ ) + void LtcUtBenValueStream::SetSize( sal_uInt64 /*nSize*/ ) { //pLtcBenContainer pContainer = cpValue->GetContainer(); //pContainer->GetStream()->SetStreamSize(nSize); |