summaryrefslogtreecommitdiff
path: root/sot/source/sdstor/storage.cxx
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2016-09-14 17:01:50 +0200
committerMichael Stahl <mstahl@redhat.com>2016-09-15 12:01:11 +0200
commitb647996a9babbee7b33cf45192e57df6a124628b (patch)
treeddc6dfe8a62ec53fbacc4eeccfeb20019f3ef4f0 /sot/source/sdstor/storage.cxx
parenta19a67e20e847a42063559694ec5beec71abcfb3 (diff)
replace sal_Size with std::size_t (or sal_uInt64 for SvStream pos)
... except in include/rtl, include/sal, include/uno, where sal_Size is retained for compatibility, and where callers of rtl functions pass in pointers that are incompatible on MSVC. Change-Id: I8344453780689f5120ba0870e44965b6d292450c
Diffstat (limited to 'sot/source/sdstor/storage.cxx')
-rw-r--r--sot/source/sdstor/storage.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sot/source/sdstor/storage.cxx b/sot/source/sdstor/storage.cxx
index 3d26f5c12116..1c3d5807726a 100644
--- a/sot/source/sdstor/storage.cxx
+++ b/sot/source/sdstor/storage.cxx
@@ -100,9 +100,9 @@ void SotStorageStream::ResetError()
pOwnStm->ResetError();
}
-sal_uLong SotStorageStream::GetData( void* pData, sal_uLong nSize )
+std::size_t SotStorageStream::GetData(void* pData, std::size_t const nSize)
{
- sal_uLong nRet = 0;
+ std::size_t nRet = 0;
if( pOwnStm )
{
@@ -115,9 +115,9 @@ sal_uLong SotStorageStream::GetData( void* pData, sal_uLong nSize )
return nRet;
}
-sal_uLong SotStorageStream::PutData( const void* pData, sal_uLong nSize )
+std::size_t SotStorageStream::PutData(const void* pData, std::size_t const nSize)
{
- sal_uLong nRet = 0;
+ std::size_t nRet = 0;
if( pOwnStm )
{