aspell: use isSpellingCandidate() instead of local brew
This commit is contained in:
parent
a6fcf8639a
commit
ab9d852f4f
@ -258,11 +258,6 @@ public:
|
|||||||
{}
|
{}
|
||||||
void newData() {
|
void newData() {
|
||||||
while (m_db.termWalkNext(m_tit, *m_input)) {
|
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))
|
if (!Rcl::Db::isSpellingCandidate(*m_input))
|
||||||
continue;
|
continue;
|
||||||
// Got a non-empty sort-of appropriate term, let's send it to
|
// Got a non-empty sort-of appropriate term, let's send it to
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user