diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-11-22 09:47:52 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-11-22 13:33:25 +0100 |
commit | 2161d04688be77112c281a1ada5263b963677c43 (patch) | |
tree | 252d975d79b429a6c7ea0a8c777f8403e5481c62 /connectivity | |
parent | 041e1ba3185fd73930129c19739ee62ba88826cc (diff) |
drop duplicate method
Change-Id: Idadd0a64e41cd02f5167b275081c3576a6224b12
Reviewed-on: https://gerrit.libreoffice.org/45075
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/commontools/dbtools.cxx | 2 | ||||
-rw-r--r-- | connectivity/source/drivers/dbase/DTable.cxx | 2 | ||||
-rw-r--r-- | connectivity/source/drivers/flat/ETable.cxx | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/connectivity/source/commontools/dbtools.cxx b/connectivity/source/commontools/dbtools.cxx index 861419a5c283..653c8dcc7717 100644 --- a/connectivity/source/commontools/dbtools.cxx +++ b/connectivity/source/commontools/dbtools.cxx @@ -2093,7 +2093,7 @@ namespace dbase dbf_Stream->ReadUChar( nType ); dbf_Stream->Seek(STREAM_SEEK_TO_BEGIN + 29); - if (dbf_Stream->IsEof()) + if (dbf_Stream->eof()) { return false; } diff --git a/connectivity/source/drivers/dbase/DTable.cxx b/connectivity/source/drivers/dbase/DTable.cxx index 116c47b56d60..22d9f441b1f0 100644 --- a/connectivity/source/drivers/dbase/DTable.cxx +++ b/connectivity/source/drivers/dbase/DTable.cxx @@ -2655,7 +2655,7 @@ bool ODbaseTable::ReadMemo(std::size_t nBlockNo, ORowSetValue& aVariable) aBuf[i] = 0; aBStr.append(aBuf); - } while (!bReady && !m_pMemoStream->IsEof()); + } while (!bReady && !m_pMemoStream->eof()); aVariable = OStringToOUString(aBStr.makeStringAndClear(), m_eEncoding); diff --git a/connectivity/source/drivers/flat/ETable.cxx b/connectivity/source/drivers/flat/ETable.cxx index 29a4db8b449c..5fc89925925c 100644 --- a/connectivity/source/drivers/flat/ETable.cxx +++ b/connectivity/source/drivers/flat/ETable.cxx @@ -876,7 +876,7 @@ bool OFlatTable::readLine(sal_Int32 * const pEndPos, sal_Int32 * const pStartPos if (pStartPos) *pStartPos = (sal_Int32)m_pFileStream->Tell(); m_pFileStream->ReadByteStringLine(m_aCurrentLine, nEncoding); - if (m_pFileStream->IsEof()) + if (m_pFileStream->eof()) return false; QuotedTokenizedString sLine = m_aCurrentLine; // check if the string continues on next line @@ -927,7 +927,7 @@ bool OFlatTable::readLine(sal_Int32 * const pEndPos, sal_Int32 * const pStartPos { nLastOffset = sLine.Len(); m_pFileStream->ReadByteStringLine(sLine,nEncoding); - if ( !m_pFileStream->IsEof() ) + if ( !m_pFileStream->eof() ) { OUString aStr = m_aCurrentLine.GetString() + "\n" + sLine.GetString(); m_aCurrentLine.SetString(aStr); |