whitespace and indents only
This commit is contained in:
parent
d43bb992f7
commit
5dd8774b3c
@ -78,8 +78,8 @@ bool createExpansionDbs(Xapian::WritableDatabase& wdb,
|
||||
if (!o_index_stripchars) {
|
||||
for (unsigned int i = 0; i < langs.size(); i++) {
|
||||
unacstemdbs.push_back(
|
||||
XapWritableComputableSynFamMember(wdb, synFamStemUnac, langs[i],
|
||||
stemmers.back().get()));
|
||||
XapWritableComputableSynFamMember(
|
||||
wdb, synFamStemUnac, langs[i], stemmers.back().get()));
|
||||
unacstemdbs.back().recreate();
|
||||
}
|
||||
}
|
||||
|
||||
@ -52,21 +52,18 @@ class TermProc {
|
||||
public:
|
||||
TermProc(TermProc* next) : m_next(next) {}
|
||||
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)
|
||||
return m_next->takeword(term, pos, bs, be);
|
||||
else
|
||||
return true;
|
||||
}
|
||||
// newpage() is like takeword(), but for page breaks.
|
||||
virtual void newpage(int pos)
|
||||
{
|
||||
virtual void newpage(int pos) {
|
||||
if (m_next)
|
||||
m_next->newpage(pos);
|
||||
}
|
||||
virtual bool flush()
|
||||
{
|
||||
virtual bool flush() {
|
||||
if (m_next)
|
||||
return m_next->flush();
|
||||
else
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user