summaryrefslogtreecommitdiff
path: root/include/unotools/ucblockbytes.hxx
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2014-03-28 23:03:57 +0100
committerMichael Stahl <mstahl@redhat.com>2014-03-29 02:03:07 +0100
commit19bbfc0b39d79a90539fd3094d9b6d7d81619a45 (patch)
treeccac02c9c175f7254c08a108c5107d7f3ebed87f /include/unotools/ucblockbytes.hxx
parent655a39d8c0d151618d7c3b3fe0dcff508c2b53c5 (diff)
tools: allow 64-bit positions on SvLockBytes
Bump stream positions to 64 bits on: SvLockBytes::ReadAt() SvLockBytes::WriteAt() SvAsyncLockBytes::m_nSize SvOpenLockBytes::Seek() SvOpenLockBytes::Tell() SvOutputStreamOpenLockBytes::m_nPosition OInputStreamHelper::m_nActPos Change-Id: Ica3b674e0ab23a756260a51475e97a5396ecdddb
Diffstat (limited to 'include/unotools/ucblockbytes.hxx')
-rw-r--r--include/unotools/ucblockbytes.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/unotools/ucblockbytes.hxx b/include/unotools/ucblockbytes.hxx
index 049ca69e6828..8bb15e77dc28 100644
--- a/include/unotools/ucblockbytes.hxx
+++ b/include/unotools/ucblockbytes.hxx
@@ -132,8 +132,8 @@ public:
// SvLockBytes
virtual void SetSynchronMode (bool bSynchron) SAL_OVERRIDE;
- virtual ErrCode ReadAt ( sal_uLong nPos, void *pBuffer, sal_uLong nCount, sal_uLong *pRead) const SAL_OVERRIDE;
- virtual ErrCode WriteAt ( sal_uLong, const void*, sal_uLong, sal_uLong *pWritten) 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 Stat ( SvLockBytesStat *pStat, SvLockBytesStatFlag) const SAL_OVERRIDE;