diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-25 12:03:58 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-02 08:02:54 +0000 |
commit | 4978328534c0f759eea7d0c196046f1d53b06925 (patch) | |
tree | cf9dcd62c4f09dcd08115bbda2a8950678a38562 /tools | |
parent | 1461ebbbb5d47d90e31f0945a4878a68fbee5213 (diff) |
convert method names in tools::SvRef to be more like our other..
reference classes, uno::Reference and rtl::Reference.
Specifically rename Is()->is() and Clear()->clear().
Change-Id: Icb7e05e2d09cb9977121508b837ba0961dabb4ae
Reviewed-on: https://gerrit.libreoffice.org/33576
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/source/stream/stream.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tools/source/stream/stream.cxx b/tools/source/stream/stream.cxx index 350ac64ecbcb..9035a9cecff1 100644 --- a/tools/source/stream/stream.cxx +++ b/tools/source/stream/stream.cxx @@ -256,7 +256,7 @@ std::size_t SvStream::GetData( void* pData, std::size_t nSize ) { if( !GetError() ) { - DBG_ASSERT( m_xLockBytes.Is(), "pure virtual function" ); + DBG_ASSERT( m_xLockBytes.is(), "pure virtual function" ); std::size_t nRet(0); m_nError = m_xLockBytes->ReadAt(m_nActPos, pData, nSize, &nRet); m_nActPos += nRet; @@ -269,7 +269,7 @@ std::size_t SvStream::PutData( const void* pData, std::size_t nSize ) { if( !GetError() ) { - DBG_ASSERT( m_xLockBytes.Is(), "pure virtual function" ); + DBG_ASSERT( m_xLockBytes.is(), "pure virtual function" ); std::size_t nRet(0); m_nError = m_xLockBytes->WriteAt(m_nActPos, pData, nSize, &nRet); m_nActPos += nRet; @@ -284,7 +284,7 @@ sal_uInt64 SvStream::SeekPos(sal_uInt64 const nPos) assert(nPos != SAL_MAX_UINT32); if( !GetError() && nPos == STREAM_SEEK_TO_END ) { - DBG_ASSERT( m_xLockBytes.Is(), "pure virtual function" ); + DBG_ASSERT( m_xLockBytes.is(), "pure virtual function" ); SvLockBytesStat aStat; m_xLockBytes->Stat( &aStat, SVSTATFLAG_DEFAULT ); m_nActPos = aStat.nSize; @@ -298,14 +298,14 @@ void SvStream::FlushData() { if( !GetError() ) { - DBG_ASSERT( m_xLockBytes.Is(), "pure virtual function" ); + DBG_ASSERT( m_xLockBytes.is(), "pure virtual function" ); m_nError = m_xLockBytes->Flush(); } } void SvStream::SetSize(sal_uInt64 const nSize) { - DBG_ASSERT( m_xLockBytes.Is(), "pure virtual function" ); + DBG_ASSERT( m_xLockBytes.is(), "pure virtual function" ); m_nError = m_xLockBytes->SetSize( nSize ); } @@ -361,7 +361,7 @@ SvStream::SvStream( SvLockBytes* pLockBytesP ) : SvStream() SvStream::~SvStream() { - if (m_xLockBytes.Is()) + if (m_xLockBytes.is()) Flush(); delete[] m_pRWBuf; |