diff options
author | Michael Stahl <mstahl@redhat.com> | 2014-03-28 23:03:57 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-03-29 02:03:07 +0100 |
commit | 19bbfc0b39d79a90539fd3094d9b6d7d81619a45 (patch) | |
tree | ccac02c9c175f7254c08a108c5107d7f3ebed87f /include/unotools/streamhelper.hxx | |
parent | 655a39d8c0d151618d7c3b3fe0dcff508c2b53c5 (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/streamhelper.hxx')
-rw-r--r-- | include/unotools/streamhelper.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/unotools/streamhelper.hxx b/include/unotools/streamhelper.hxx index 7f4d19dac859..6cf186070e3e 100644 --- a/include/unotools/streamhelper.hxx +++ b/include/unotools/streamhelper.hxx @@ -43,13 +43,13 @@ class UNOTOOLS_DLLPUBLIC OInputStreamHelper : public InputStreamHelper_Base { ::osl::Mutex m_aMutex; SvLockBytesRef m_xLockBytes; - sal_uInt32 m_nActPos; + sal_uInt64 m_nActPos; sal_Int32 m_nAvailable; // this is typically the chunk(buffer) size public: OInputStreamHelper(const SvLockBytesRef& _xLockBytes, sal_uInt32 _nAvailable, - sal_uInt32 _nPos = 0) + sal_uInt64 _nPos = 0) :m_xLockBytes(_xLockBytes) ,m_nActPos(_nPos) ,m_nAvailable(_nAvailable){} |