summaryrefslogtreecommitdiff
path: root/sw/source/ui/dialog/ascfldlg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/dialog/ascfldlg.cxx')
-rw-r--r--sw/source/ui/dialog/ascfldlg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/dialog/ascfldlg.cxx b/sw/source/ui/dialog/ascfldlg.cxx
index beb36a6a5359..2e39a69b396c 100644
--- a/sw/source/ui/dialog/ascfldlg.cxx
+++ b/sw/source/ui/dialog/ascfldlg.cxx
@@ -95,7 +95,7 @@ SwAsciiFilterDlg::SwAsciiFilterDlg( vcl::Window* pParent, SwDocShell& rDocSh,
{
char aBuffer[ 4098 ];
const sal_uLong nOldPos = pStream->Tell();
- const sal_uLong nBytesRead = pStream->Read( aBuffer, 4096 );
+ const size_t nBytesRead = pStream->ReadBytes(aBuffer, 4096);
pStream->Seek( nOldPos );
if( nBytesRead <= 4096 )