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/svl | |
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/svl')
-rw-r--r-- | include/svl/instrm.hxx | 4 | ||||
-rw-r--r-- | include/svl/outstrm.hxx | 4 | ||||
-rw-r--r-- | include/svl/strmadpt.hxx | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/include/svl/instrm.hxx b/include/svl/instrm.hxx index 149b0f74059a..441238f1382e 100644 --- a/include/svl/instrm.hxx +++ b/include/svl/instrm.hxx @@ -47,11 +47,11 @@ class SVL_DLLPUBLIC SvInputStream: public SvStream SVL_DLLPRIVATE virtual sal_uLong PutData(void const *, sal_uLong) SAL_OVERRIDE; - SVL_DLLPRIVATE virtual sal_uLong SeekPos(sal_uLong nPos) SAL_OVERRIDE; + SVL_DLLPRIVATE virtual sal_uInt64 SeekPos(sal_uInt64 nPos) SAL_OVERRIDE; SVL_DLLPRIVATE virtual void FlushData() SAL_OVERRIDE; - SVL_DLLPRIVATE virtual void SetSize(sal_uLong) SAL_OVERRIDE; + SVL_DLLPRIVATE virtual void SetSize(sal_uInt64) SAL_OVERRIDE; public: SvInputStream( diff --git a/include/svl/outstrm.hxx b/include/svl/outstrm.hxx index 8ab49a6d1da3..a0bea052689b 100644 --- a/include/svl/outstrm.hxx +++ b/include/svl/outstrm.hxx @@ -38,11 +38,11 @@ class SVL_DLLPUBLIC SvOutputStream: public SvStream SVL_DLLPRIVATE virtual sal_uLong PutData(void const * pData, sal_uLong nSize) SAL_OVERRIDE; - SVL_DLLPRIVATE virtual sal_uLong SeekPos(sal_uLong) SAL_OVERRIDE; + SVL_DLLPRIVATE virtual sal_uInt64 SeekPos(sal_uInt64) SAL_OVERRIDE; SVL_DLLPRIVATE virtual void FlushData() SAL_OVERRIDE; - SVL_DLLPRIVATE virtual void SetSize(sal_uLong) SAL_OVERRIDE; + SVL_DLLPRIVATE virtual void SetSize(sal_uInt64) SAL_OVERRIDE; public: SvOutputStream(com::sun::star::uno::Reference< diff --git a/include/svl/strmadpt.hxx b/include/svl/strmadpt.hxx index 5f540566db92..872a8506cc3c 100644 --- a/include/svl/strmadpt.hxx +++ b/include/svl/strmadpt.hxx @@ -50,7 +50,7 @@ public: virtual ErrCode Flush() const SAL_OVERRIDE; - virtual ErrCode SetSize(sal_uLong) SAL_OVERRIDE; + virtual ErrCode SetSize(sal_uInt64) SAL_OVERRIDE; virtual ErrCode Stat(SvLockBytesStat * pStat, SvLockBytesStatFlag) const SAL_OVERRIDE; |