From 2161d04688be77112c281a1ada5263b963677c43 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 22 Nov 2017 09:47:52 +0000 Subject: drop duplicate method MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Idadd0a64e41cd02f5167b275081c3576a6224b12 Reviewed-on: https://gerrit.libreoffice.org/45075 Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- sot/source/base/filelist.cxx | 4 ++-- sot/source/sdstor/storinfo.cxx | 2 +- sot/source/sdstor/ucbstorage.cxx | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'sot') diff --git a/sot/source/base/filelist.cxx b/sot/source/base/filelist.cxx index 07558b17f0ae..6fe95dfab89d 100644 --- a/sot/source/base/filelist.cxx +++ b/sot/source/base/filelist.cxx @@ -42,7 +42,7 @@ SvStream& ReadFileList( SvStream& rIStm, FileList& rFileList ) OUStringBuffer sBuf(512); sal_uInt16 c; - while (!rIStm.IsEof()) + while (!rIStm.eof()) { // read first character of filepath; c==0 > reach end of stream rIStm.ReadUInt16( c ); @@ -50,7 +50,7 @@ SvStream& ReadFileList( SvStream& rIStm, FileList& rFileList ) break; // read string till c==0 - while (c && !rIStm.IsEof()) + while (c && !rIStm.eof()) { sBuf.append((sal_Unicode)c); rIStm.ReadUInt16( c ); diff --git a/sot/source/sdstor/storinfo.cxx b/sot/source/sdstor/storinfo.cxx index d7cc729e9262..080e41d3e83e 100644 --- a/sot/source/sdstor/storinfo.cxx +++ b/sot/source/sdstor/storinfo.cxx @@ -30,7 +30,7 @@ SotClipboardFormatId ReadClipboardFormat( SvStream & rStm ) SotClipboardFormatId nFormat = SotClipboardFormatId::NONE; sal_Int32 nLen = 0; rStm.ReadInt32( nLen ); - if( rStm.IsEof() ) + if( rStm.eof() ) rStm.SetError( SVSTREAM_GENERALERROR ); if( nLen > 0 ) { diff --git a/sot/source/sdstor/ucbstorage.cxx b/sot/source/sdstor/ucbstorage.cxx index e60fc2f97a45..1f76f3f2d16f 100644 --- a/sot/source/sdstor/ucbstorage.cxx +++ b/sot/source/sdstor/ucbstorage.cxx @@ -172,7 +172,7 @@ sal_Int32 SAL_CALL FileStreamWrapper_Impl::readSomeBytes(Sequence< sal_Int8 >& a if (nMaxBytesToRead < 0) throw BufferSizeExceededException(OUString(),static_cast(this)); - if (m_pSvStream->IsEof()) + if (m_pSvStream->eof()) { aData.realloc(0); return 0; -- cgit