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/tools/pstm.hxx | |
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/tools/pstm.hxx')
-rw-r--r-- | include/tools/pstm.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tools/pstm.hxx b/include/tools/pstm.hxx index f43603e8c6c4..cf42246cd9e9 100644 --- a/include/tools/pstm.hxx +++ b/include/tools/pstm.hxx @@ -197,7 +197,7 @@ class TOOLS_DLLPUBLIC SvPersistStream : public SvStream virtual sal_uIntPtr GetData( void* pData, sal_uIntPtr nSize ) SAL_OVERRIDE; virtual sal_uIntPtr PutData( const void* pData, sal_uIntPtr nSize ) SAL_OVERRIDE; - virtual sal_uIntPtr SeekPos( sal_uIntPtr nPos ) SAL_OVERRIDE; + virtual sal_uInt64 SeekPos(sal_uInt64 nPos) SAL_OVERRIDE; virtual void FlushData() SAL_OVERRIDE; protected: |