summaryrefslogtreecommitdiff
path: root/linguistic
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-11-22 09:47:52 +0000
committerCaolán McNamara <caolanm@redhat.com>2017-11-22 13:33:25 +0100
commit2161d04688be77112c281a1ada5263b963677c43 (patch)
tree252d975d79b429a6c7ea0a8c777f8403e5481c62 /linguistic
parent041e1ba3185fd73930129c19739ee62ba88826cc (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 'linguistic')
-rw-r--r--linguistic/source/dicimp.cxx6
1 files changed, 3 insertions, 3 deletions
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;