Switch to unified view

a/src/query/filtseq.cpp b/src/query/filtseq.cpp
...
...
68
        // interpret. The default config uses rclcat:value
68
        // interpret. The default config uses rclcat:value
69
        // only. That will be all for now...
69
        // only. That will be all for now...
70
        string val = filtspec.values[i];
70
        string val = filtspec.values[i];
71
        if (val.find("rclcat:") == 0) {
71
        if (val.find("rclcat:") == 0) {
72
        string catg = val.substr(7);
72
        string catg = val.substr(7);
73
        list<string> tps;
73
        vector<string> tps;
74
        m_config->getMimeCatTypes(catg, tps);
74
        m_config->getMimeCatTypes(catg, tps);
75
        for (list<string>::const_iterator it = tps.begin();
75
        for (vector<string>::const_iterator it = tps.begin();
76
             it != tps.end(); it++) {
76
             it != tps.end(); it++) {
77
            LOGDEB2(("Adding mime: [%s]\n", it->c_str()));
77
            LOGDEB2(("Adding mime: [%s]\n", it->c_str()));
78
            m_spec.orCrit(DocSeqFiltSpec::DSFS_MIMETYPE, *it);
78
            m_spec.orCrit(DocSeqFiltSpec::DSFS_MIMETYPE, *it);
79
        }
79
        }
80
        }
80
        }