|
a/src/query/filtseq.cpp |
|
b/src/query/filtseq.cpp |
|
... |
|
... |
52 |
: DocSeqModifier(iseq), m_config(conf)
|
52 |
: DocSeqModifier(iseq), m_config(conf)
|
53 |
{
|
53 |
{
|
54 |
setFiltSpec(filtspec);
|
54 |
setFiltSpec(filtspec);
|
55 |
}
|
55 |
}
|
56 |
|
56 |
|
57 |
bool DocSeqFiltered::setFiltSpec(DocSeqFiltSpec &filtspec)
|
57 |
bool DocSeqFiltered::setFiltSpec(const DocSeqFiltSpec &filtspec)
|
58 |
{
|
58 |
{
|
59 |
LOGDEB0(("DocSeqFiltered::setFiltSpec\n"));
|
59 |
LOGDEB0(("DocSeqFiltered::setFiltSpec\n"));
|
60 |
for (unsigned int i = 0; i < filtspec.crits.size(); i++) {
|
60 |
for (unsigned int i = 0; i < filtspec.crits.size(); i++) {
|
61 |
switch (filtspec.crits[i]) {
|
61 |
switch (filtspec.crits[i]) {
|
62 |
case DocSeqFiltSpec::DSFS_MIMETYPE:
|
62 |
case DocSeqFiltSpec::DSFS_MIMETYPE:
|