summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2014-03-29 01:19:24 +0100
committerMichael Stahl <mstahl@redhat.com>2014-03-29 02:03:07 +0100
commit1258b576aef2ff3cdd4f44e1c03edb8c862a79f6 (patch)
tree80bbe4b11f5f7149ee64d50ecd55eb15e79839df /forms
parent19bbfc0b39d79a90539fd3094d9b6d7d81619a45 (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 'forms')
-rw-r--r--forms/source/component/imgprod.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/forms/source/component/imgprod.cxx b/forms/source/component/imgprod.cxx
index 6af16453f153..47be5b238287 100644
--- a/forms/source/component/imgprod.cxx
+++ b/forms/source/component/imgprod.cxx
@@ -50,7 +50,7 @@ public:
virtual ErrCode ReadAt( sal_uInt64 nPos, void* pBuffer, sal_Size nCount, sal_Size * pRead ) const SAL_OVERRIDE;
virtual ErrCode WriteAt( sal_uInt64 nPos, const void* pBuffer, sal_Size nCount, sal_Size * pWritten ) SAL_OVERRIDE;
virtual ErrCode Flush() const SAL_OVERRIDE;
- virtual ErrCode SetSize( sal_Size nSize ) SAL_OVERRIDE;
+ virtual ErrCode SetSize( sal_uInt64 nSize ) SAL_OVERRIDE;
virtual ErrCode Stat( SvLockBytesStat*, SvLockBytesStatFlag ) const SAL_OVERRIDE;
};
@@ -145,7 +145,7 @@ ErrCode ImgProdLockBytes::Flush() const
-ErrCode ImgProdLockBytes::SetSize( sal_Size nSize )
+ErrCode ImgProdLockBytes::SetSize(sal_uInt64 const nSize)
{
if( GetStream() )
return SvLockBytes::SetSize( nSize );