aspell: use isSpellingCandidate() instead of local brew

This commit is contained in:
Jean-Francois Dockes 2012-09-13 12:04:38 +02:00
parent a6fcf8639a
commit ab9d852f4f

View File

@ -258,11 +258,6 @@ public:
{}
void newData() {
while (m_db.termWalkNext(m_tit, *m_input)) {
// Prefixed terms are also somewhere else without the suffix,
// skip them
if (m_input->empty() ||
('A' <= m_input->at(0) && m_input->at(0) <= 'Z'))
continue;
if (!Rcl::Db::isSpellingCandidate(*m_input))
continue;
// Got a non-empty sort-of appropriate term, let's send it to