summaryrefslogtreecommitdiff
path: root/include/svl
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/svl
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/svl')
-rw-r--r--include/svl/strmadpt.hxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/svl/strmadpt.hxx b/include/svl/strmadpt.hxx
index 7117a6e54e5a..5f540566db92 100644
--- a/include/svl/strmadpt.hxx
+++ b/include/svl/strmadpt.hxx
@@ -32,7 +32,7 @@ class SVL_DLLPUBLIC SvOutputStreamOpenLockBytes: public SvOpenLockBytes
{
com::sun::star::uno::Reference< com::sun::star::io::XOutputStream >
m_xOutputStream;
- sal_uInt32 m_nPosition;
+ sal_uInt64 m_nPosition;
public:
TYPEINFO_OVERRIDE();
@@ -43,10 +43,10 @@ public:
rTheOutputStream):
m_xOutputStream(rTheOutputStream), m_nPosition(0) {}
- virtual ErrCode ReadAt(sal_uLong, void *, sal_uLong, sal_uLong *) const SAL_OVERRIDE;
+ virtual ErrCode ReadAt(sal_uInt64, void *, sal_uLong, sal_uInt64 *) const SAL_OVERRIDE;
- virtual ErrCode WriteAt(sal_uLong nPos, const void * pBuffer, sal_uLong nCount,
- sal_uLong * pWritten) SAL_OVERRIDE;
+ virtual ErrCode WriteAt(sal_uInt64 nPos, const void * pBuffer, sal_uLong nCount,
+ sal_uInt64 * pWritten) SAL_OVERRIDE;
virtual ErrCode Flush() const SAL_OVERRIDE;
@@ -57,9 +57,9 @@ public:
virtual ErrCode FillAppend(const void * pBuffer, sal_uLong nCount,
sal_uLong * pWritten) SAL_OVERRIDE;
- virtual sal_uLong Tell() const SAL_OVERRIDE;
+ virtual sal_uInt64 Tell() const SAL_OVERRIDE;
- virtual sal_uLong Seek(sal_uLong) SAL_OVERRIDE;
+ virtual sal_uInt64 Seek(sal_uInt64) SAL_OVERRIDE;
virtual void Terminate() SAL_OVERRIDE;
};