diff options
author | Muzaffer Kadir YILMAZ <muzafferkadiryilmaz@gmail.com> | 2019-02-11 15:39:54 +0300 |
---|---|---|
committer | Michael Stahl <Michael.Stahl@cib.de> | 2019-04-15 14:12:17 +0200 |
commit | b9e75051807b807a6c9b96433390e09abaf38c24 (patch) | |
tree | 01fa58fd72706393c288a0acbd28ef6ea00536fe /sw/source/filter/ww8/wrtww8.cxx | |
parent | 4506a8993d2d4d2d7c615cecec16f05a4e3503f5 (diff) |
tdf#114441 - Convert variables use Tell() function sal_uLong to sal_uInt64
Change-Id: I356d771920f08fedd0843a5482615f787edf4f9f
Reviewed-on: https://gerrit.libreoffice.org/67688
Tested-by: Jenkins
Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
Diffstat (limited to 'sw/source/filter/ww8/wrtww8.cxx')
-rw-r--r-- | sw/source/filter/ww8/wrtww8.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sw/source/filter/ww8/wrtww8.cxx b/sw/source/filter/ww8/wrtww8.cxx index bd2008df4a25..5b66db607afb 100644 --- a/sw/source/filter/ww8/wrtww8.cxx +++ b/sw/source/filter/ww8/wrtww8.cxx @@ -918,7 +918,7 @@ void WW8_WrPlcField::Write( WW8Export& rWrt ) if( pfc && plc ) { - sal_uLong nFcStart = rWrt.pTableStrm->Tell(); + sal_uInt64 nFcStart = rWrt.pTableStrm->Tell(); WW8_WrPlc1::Write( *rWrt.pTableStrm ); *pfc = nFcStart; *plc = rWrt.pTableStrm->Tell() - nFcStart; @@ -967,7 +967,7 @@ void SwWW8Writer::FillCount( SvStream& rStrm, sal_uLong nCount ) sal_uLong SwWW8Writer::FillUntil( SvStream& rStrm, sal_uLong nEndPos ) { - sal_uLong nCurPos = rStrm.Tell(); + sal_uInt64 nCurPos = rStrm.Tell(); if( !nEndPos ) // nEndPos == 0 -> next Page nEndPos = (nCurPos + 0x1ff) & ~0x1ffUL; @@ -1072,7 +1072,7 @@ void WW8_WrPlcPn::WriteFkps() void WW8_WrPlcPn::WritePlc() { - sal_uLong nFcStart = rWrt.pTableStrm->Tell(); + sal_uInt64 nFcStart = rWrt.pTableStrm->Tell(); decltype(m_Fkps)::size_type i; for (i = 0; i < m_Fkps.size(); ++i) @@ -1382,7 +1382,7 @@ void WW8_WrPct::AppendPc(WW8_FC nStartFc) void WW8_WrPct::WritePc( WW8Export& rWrt ) { - sal_uLong nPctStart; + sal_uInt64 nPctStart; sal_uLong nOldPos, nEndPos; nPctStart = rWrt.pTableStrm->Tell(); // Start piece table @@ -1713,7 +1713,7 @@ void WW8Export::WriteAsStringTable(const std::vector<OUString>& rStrings, // FilePos. Used to insert lengths after the fact. void SwWW8Writer::WriteShort( SvStream& rStrm, sal_uLong nPos, sal_Int16 nVal ) { - sal_uLong nOldPos = rStrm.Tell(); // remember Pos + sal_uInt64 nOldPos = rStrm.Tell(); // remember Pos rStrm.Seek( nPos ); SwWW8Writer::WriteShort( rStrm, nVal ); rStrm.Seek( nOldPos ); @@ -1721,7 +1721,7 @@ void SwWW8Writer::WriteShort( SvStream& rStrm, sal_uLong nPos, sal_Int16 nVal ) void SwWW8Writer::WriteLong( SvStream& rStrm, sal_uLong nPos, sal_Int32 nVal ) { - sal_uLong nOldPos = rStrm.Tell(); // remember Pos + sal_uInt64 nOldPos = rStrm.Tell(); // remember Pos rStrm.Seek( nPos ); SwWW8Writer::WriteLong( rStrm, nVal ); rStrm.Seek( nOldPos ); @@ -1814,7 +1814,7 @@ void WW8Export::WriteStringAsPara( const OUString& rText ) aArr.push_back( 1 ); } - sal_uLong nPos = Strm().Tell(); + sal_uInt64 nPos = Strm().Tell(); m_pPapPlc->AppendFkpEntry( nPos, aArr.size(), aArr.data() ); m_pChpPlc->AppendFkpEntry( nPos ); } @@ -3847,7 +3847,7 @@ void WW8Export::WriteFormData( const ::sw::mark::IFieldmark& rFieldmark ) ffname = aName.copy(0, nLen); } - sal_uLong nDataStt = pDataStrm->Tell(); + sal_uInt64 nDataStt = pDataStrm->Tell(); m_pChpPlc->AppendFkpEntry(Strm().Tell()); WriteChar(0x01); |