summaryrefslogtreecommitdiff
path: root/sw/source/ui
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2021-12-10 12:11:58 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-12-14 19:19:00 +0100
commit38c008de39ef004a7f9089baba96bc408de67bae (patch)
tree43f37c4c36d8b1bf6786827ce112816f91bdf6fd /sw/source/ui
parentc2f67e6ed60554de8b02b499fb93a60e703d533a (diff)
Stream::Tell returns sal_uInt64
Change-Id: I02e49d4f59c17a9868c4111ac91b5dd2715e689c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126630 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/ui')
-rw-r--r--sw/source/ui/dialog/ascfldlg.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/dialog/ascfldlg.cxx b/sw/source/ui/dialog/ascfldlg.cxx
index 2812cc3be8a5..20f76efc4f12 100644
--- a/sw/source/ui/dialog/ascfldlg.cxx
+++ b/sw/source/ui/dialog/ascfldlg.cxx
@@ -112,7 +112,7 @@ SwAsciiFilterDlg::SwAsciiFilterDlg( weld::Window* pParent, SwDocShell& rDocSh,
if( pStream )
{
char aBuffer[ 4098 ];
- const sal_uLong nOldPos = pStream->Tell();
+ const sal_uInt64 nOldPos = pStream->Tell();
const size_t nBytesRead = pStream->ReadBytes(aBuffer, 4096);
pStream->Seek( nOldPos );
@@ -123,7 +123,7 @@ SwAsciiFilterDlg::SwAsciiFilterDlg( weld::Window* pParent, SwDocShell& rDocSh,
}
bool bCR = false, bLF = false, bNullChar = false;
- for( sal_uLong nCnt = 0; nCnt < nBytesRead; ++nCnt )
+ for( sal_uInt64 nCnt = 0; nCnt < nBytesRead; ++nCnt )
switch( aBuffer[ nCnt ] )
{
case 0x0: bNullChar = true; break;