summaryrefslogtreecommitdiffstats
path: root/lotuswordpro/source/filter/utbenvs.cxx
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 /lotuswordpro/source/filter/utbenvs.cxx
parenttools: allow 64-bit positions on SvLockBytes (diff)
downloadcore-1258b576aef2ff3cdd4f44e1c03edb8c862a79f6.tar.gz
core-1258b576aef2ff3cdd4f44e1c03edb8c862a79f6.zip
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 'lotuswordpro/source/filter/utbenvs.cxx')
-rw-r--r--lotuswordpro/source/filter/utbenvs.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/lotuswordpro/source/filter/utbenvs.cxx b/lotuswordpro/source/filter/utbenvs.cxx
index 4bbc6b848656..ea67781276d5 100644
--- a/lotuswordpro/source/filter/utbenvs.cxx
+++ b/lotuswordpro/source/filter/utbenvs.cxx
@@ -97,7 +97,7 @@ sal_uLong LtcUtBenValueStream::PutData( const void* /*pData*/, sal_uLong nSize
* @param position in value stream
* @return current position in value stream
*/
- sal_uLong LtcUtBenValueStream::SeekPos( sal_uLong nPos )
+sal_uInt64 LtcUtBenValueStream::SeekPos(sal_uInt64 const nPos)
{
if (nPos <= m_ulValueLength)
cCurrentPosition = nPos;
@@ -111,7 +111,7 @@ sal_uLong LtcUtBenValueStream::PutData( const void* /*pData*/, sal_uLong nSize
* @param size of buffer
* @return
*/
- void LtcUtBenValueStream::SetSize( sal_uLong /*nSize*/ )
+ void LtcUtBenValueStream::SetSize( sal_uInt64 /*nSize*/ )
{
//pLtcBenContainer pContainer = cpValue->GetContainer();
//pContainer->GetStream()->SetStreamSize(nSize);