summaryrefslogtreecommitdiff
path: root/sc/source/filter/excel/xestring.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/filter/excel/xestring.cxx')
-rw-r--r--sc/source/filter/excel/xestring.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/filter/excel/xestring.cxx b/sc/source/filter/excel/xestring.cxx
index cdb1601bb30f..7a388d805500 100644
--- a/sc/source/filter/excel/xestring.cxx
+++ b/sc/source/filter/excel/xestring.cxx
@@ -240,12 +240,12 @@ sal_uInt16 XclExpString::GetHeaderSize() const
(IsWriteFormats() ? 2 : 0); // richtext formattting count
}
-sal_Size XclExpString::GetBufferSize() const
+std::size_t XclExpString::GetBufferSize() const
{
- return static_cast<sal_Size>(mnLen) * (mbIsUnicode ? 2 : 1);
+ return static_cast<std::size_t>(mnLen) * (mbIsUnicode ? 2 : 1);
}
-sal_Size XclExpString::GetSize() const
+std::size_t XclExpString::GetSize() const
{
return
GetHeaderSize() + // header