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 /include/unotools | |
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 'include/unotools')
-rw-r--r-- | include/unotools/ucblockbytes.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/unotools/ucblockbytes.hxx b/include/unotools/ucblockbytes.hxx index 8bb15e77dc28..a8b854a1a1a1 100644 --- a/include/unotools/ucblockbytes.hxx +++ b/include/unotools/ucblockbytes.hxx @@ -134,8 +134,8 @@ public: virtual void SetSynchronMode (bool bSynchron) SAL_OVERRIDE; virtual ErrCode ReadAt(sal_uInt64 nPos, void *pBuffer, sal_uLong nCount, sal_uLong *pRead) const SAL_OVERRIDE; virtual ErrCode WriteAt(sal_uInt64, const void*, sal_uLong, sal_uLong *pWritten) SAL_OVERRIDE; - virtual ErrCode Flush (void) const SAL_OVERRIDE; - virtual ErrCode SetSize (sal_uLong) SAL_OVERRIDE; + virtual ErrCode Flush() const SAL_OVERRIDE; + virtual ErrCode SetSize(sal_uInt64) SAL_OVERRIDE; virtual ErrCode Stat ( SvLockBytesStat *pStat, SvLockBytesStatFlag) const SAL_OVERRIDE; void SetError( ErrCode nError ) |