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 /tools/source/ref | |
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 'tools/source/ref')
-rw-r--r-- | tools/source/ref/pstm.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/source/ref/pstm.cxx b/tools/source/ref/pstm.cxx index c9d172768186..eeab479bfa80 100644 --- a/tools/source/ref/pstm.cxx +++ b/tools/source/ref/pstm.cxx @@ -216,10 +216,10 @@ sal_uIntPtr SvPersistStream::PutData( const void* pData, sal_uIntPtr nSize ) return nRet; } -sal_uIntPtr SvPersistStream::SeekPos( sal_uIntPtr nPos ) +sal_uInt64 SvPersistStream::SeekPos(sal_uInt64 const nPos) { DBG_ASSERT( pStm, "stream not set" ); - sal_uIntPtr nRet = pStm->Seek( nPos ); + sal_uInt64 nRet = pStm->Seek( nPos ); SetError( pStm->GetError() ); return nRet; } |