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 --- linguistic/source/dicimp.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'linguistic') diff --git a/linguistic/source/dicimp.cxx b/linguistic/source/dicimp.cxx index b5b1e840e94c..911735ce3815 100644 --- a/linguistic/source/dicimp.cxx +++ b/linguistic/source/dicimp.cxx @@ -296,7 +296,7 @@ ErrCode DictionaryNeo::loadEntries(const OUString &rMainURL) sal_Char aWordBuf[ BUFSIZE ]; // Read the first word - if (!pStream->IsEof()) + if (!pStream->eof()) { pStream->ReadUInt16( nLen ); if (ERRCODE_NONE != (nErr = pStream->GetError())) @@ -312,7 +312,7 @@ ErrCode DictionaryNeo::loadEntries(const OUString &rMainURL) return SVSTREAM_READ_ERROR; } - while(!pStream->IsEof()) + while(!pStream->eof()) { // Read from file // Paste in dictionary without converting @@ -325,7 +325,7 @@ ErrCode DictionaryNeo::loadEntries(const OUString &rMainURL) } pStream->ReadUInt16( nLen ); - if (pStream->IsEof()) + if (pStream->eof()) break; if (ERRCODE_NONE != (nErr = pStream->GetError())) return nErr; -- cgit