summaryrefslogtreecommitdiff
path: root/sc/source/ui/unoobj/exceldetect.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/unoobj/exceldetect.cxx')
-rw-r--r--sc/source/ui/unoobj/exceldetect.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/unoobj/exceldetect.cxx b/sc/source/ui/unoobj/exceldetect.cxx
index ae8f2e657af0..027febb19876 100644
--- a/sc/source/ui/unoobj/exceldetect.cxx
+++ b/sc/source/ui/unoobj/exceldetect.cxx
@@ -55,7 +55,7 @@ bool hasStream(const uno::Reference<io::XInputStream>& xInStream, const OUString
return false;
pStream->Seek(STREAM_SEEK_TO_END);
- sal_Size nSize = pStream->Tell();
+ sal_uInt64 const nSize = pStream->Tell();
pStream->Seek(0);
if (!nSize)
@@ -93,7 +93,7 @@ bool isExcel40(const uno::Reference<io::XInputStream>& xInStream)
return false;
pStream->Seek(STREAM_SEEK_TO_END);
- sal_Size nSize = pStream->Tell();
+ sal_uInt64 const nSize = pStream->Tell();
pStream->Seek(0);
if (nSize < 4)
@@ -117,7 +117,7 @@ bool isExcel40(const uno::Reference<io::XInputStream>& xInStream)
// BOF record must be sized between 4 and 16 for BIFF 2, 3 and 4.
return false;
- sal_Size nPos = pStream->Tell();
+ sal_uInt64 const nPos = pStream->Tell();
if (nSize - nPos < nBofSize)
// BOF record doesn't have required bytes.
return false;