diff options
author | Michael Stahl <mstahl@redhat.com> | 2016-09-14 17:01:50 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2016-09-15 12:01:11 +0200 |
commit | b647996a9babbee7b33cf45192e57df6a124628b (patch) | |
tree | ddc6dfe8a62ec53fbacc4eeccfeb20019f3ef4f0 /sot/source/sdstor/stgstrms.cxx | |
parent | a19a67e20e847a42063559694ec5beec71abcfb3 (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/stgstrms.cxx')
-rw-r--r-- | sot/source/sdstor/stgstrms.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sot/source/sdstor/stgstrms.cxx b/sot/source/sdstor/stgstrms.cxx index 92473d0bca47..7063a4ce99d3 100644 --- a/sot/source/sdstor/stgstrms.cxx +++ b/sot/source/sdstor/stgstrms.cxx @@ -1258,7 +1258,7 @@ void StgTmpStrm::SetSize(sal_uInt64 n) } } -sal_Size StgTmpStrm::GetData( void* pData, sal_Size n ) +std::size_t StgTmpStrm::GetData( void* pData, std::size_t n ) { if( m_pStrm ) { @@ -1270,7 +1270,7 @@ sal_Size StgTmpStrm::GetData( void* pData, sal_Size n ) return SvMemoryStream::GetData( pData, n ); } -sal_Size StgTmpStrm::PutData( const void* pData, sal_Size n ) +std::size_t StgTmpStrm::PutData( const void* pData, std::size_t n ) { sal_uInt32 nCur = Tell(); sal_uInt32 nNew = nCur + n; |