whitespace and indents only

This commit is contained in:
Jean-Francois Dockes 2020-04-14 09:25:13 +02:00
parent d43bb992f7
commit 5dd8774b3c
3 changed files with 963 additions and 966 deletions

View File

@ -78,8 +78,8 @@ bool createExpansionDbs(Xapian::WritableDatabase& wdb,
if (!o_index_stripchars) { if (!o_index_stripchars) {
for (unsigned int i = 0; i < langs.size(); i++) { for (unsigned int i = 0; i < langs.size(); i++) {
unacstemdbs.push_back( unacstemdbs.push_back(
XapWritableComputableSynFamMember(wdb, synFamStemUnac, langs[i], XapWritableComputableSynFamMember(
stemmers.back().get())); wdb, synFamStemUnac, langs[i], stemmers.back().get()));
unacstemdbs.back().recreate(); unacstemdbs.back().recreate();
} }
} }

View File

@ -52,21 +52,18 @@ class TermProc {
public: public:
TermProc(TermProc* next) : m_next(next) {} TermProc(TermProc* next) : m_next(next) {}
virtual ~TermProc() {} virtual ~TermProc() {}
virtual bool takeword(const string &term, int pos, int bs, int be) virtual bool takeword(const string &term, int pos, int bs, int be) {
{
if (m_next) if (m_next)
return m_next->takeword(term, pos, bs, be); return m_next->takeword(term, pos, bs, be);
else else
return true; return true;
} }
// newpage() is like takeword(), but for page breaks. // newpage() is like takeword(), but for page breaks.
virtual void newpage(int pos) virtual void newpage(int pos) {
{
if (m_next) if (m_next)
m_next->newpage(pos); m_next->newpage(pos);
} }
virtual bool flush() virtual bool flush() {
{
if (m_next) if (m_next)
return m_next->flush(); return m_next->flush();
else else