diff options
Diffstat (limited to 'sw/source/filter/ww8/ww8atr.cxx')
-rw-r--r-- | sw/source/filter/ww8/ww8atr.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/ww8atr.cxx b/sw/source/filter/ww8/ww8atr.cxx index cbafa7a909a0..490f7f296757 100644 --- a/sw/source/filter/ww8/ww8atr.cxx +++ b/sw/source/filter/ww8/ww8atr.cxx @@ -3839,13 +3839,13 @@ void WW8AttributeOutput::FormatFrameSize( const SwFormatFrameSize& rSize ) * * @return FilePos + 1 of the replaced CR or 0 if nothing was replaced. */ -sal_uLong WW8Export::ReplaceCr( sal_uInt8 nChar ) +sal_uInt64 WW8Export::ReplaceCr( sal_uInt8 nChar ) { OSL_ENSURE( nChar, "replaced with 0 crashes WW97/95" ); bool bReplaced = false; SvStream& rStrm = Strm(); - sal_uLong nRetPos = 0, nPos = rStrm.Tell(); + sal_uInt64 nRetPos = 0, nPos = rStrm.Tell(); //If there is at least two characters already output if (nPos - 2 >= o3tl::make_unsigned(pFib->m_fcMin)) { |