summaryrefslogtreecommitdiff
path: root/sot/source/sdstor/storinfo.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sot/source/sdstor/storinfo.cxx')
-rw-r--r--sot/source/sdstor/storinfo.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sot/source/sdstor/storinfo.cxx b/sot/source/sdstor/storinfo.cxx
index 1c5025bf13f2..f2813a238db9 100644
--- a/sot/source/sdstor/storinfo.cxx
+++ b/sot/source/sdstor/storinfo.cxx
@@ -36,7 +36,7 @@ SotClipboardFormatId ReadClipboardFormat( SvStream & rStm )
{
// get a string name
std::unique_ptr<sal_Char[]> p(new( ::std::nothrow ) sal_Char[ nLen ]);
- if (p && rStm.ReadBytes(p.get(), nLen) == static_cast<sal_Size>(nLen))
+ if (p && rStm.ReadBytes(p.get(), nLen) == static_cast<std::size_t>(nLen))
{
nFormat = SotExchange::RegisterFormatName(OUString(p.get(), nLen-1, RTL_TEXTENCODING_ASCII_US));
}