diff options
Diffstat (limited to 'tools/source/ref/pstm.cxx')
-rw-r--r-- | tools/source/ref/pstm.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/source/ref/pstm.cxx b/tools/source/ref/pstm.cxx index 74e6bc858108..c63459209a7d 100644 --- a/tools/source/ref/pstm.cxx +++ b/tools/source/ref/pstm.cxx @@ -90,18 +90,18 @@ void SvPersistStream::ResetError() pStm->ResetError(); } -sal_uIntPtr SvPersistStream::GetData( void* pData, sal_uIntPtr nSize ) +std::size_t SvPersistStream::GetData( void* pData, std::size_t nSize ) { DBG_ASSERT( pStm, "stream not set" ); - sal_Size const nRet = pStm->ReadBytes( pData, nSize ); + std::size_t const nRet = pStm->ReadBytes( pData, nSize ); SetError( pStm->GetError() ); return nRet; } -sal_uIntPtr SvPersistStream::PutData( const void* pData, sal_uIntPtr nSize ) +std::size_t SvPersistStream::PutData( const void* pData, std::size_t nSize ) { DBG_ASSERT( pStm, "stream not set" ); - sal_Size const nRet = pStm->WriteBytes( pData, nSize ); + std::size_t const nRet = pStm->WriteBytes( pData, nSize ); SetError( pStm->GetError() ); return nRet; } |