Switch to unified view

a/src/query/docseqdb.cpp b/src/query/docseqdb.cpp
1
#ifndef lint
1
#ifndef lint
2
static char rcsid[] = "@(#$Id: docseqdb.cpp,v 1.6 2008-09-28 07:40:56 dockes Exp $ (C) 2005 J.F.Dockes";
2
static char rcsid[] = "@(#$Id: docseqdb.cpp,v 1.7 2008-09-29 08:59:20 dockes Exp $ (C) 2005 J.F.Dockes";
3
#endif
3
#endif
4
/*
4
/*
5
 *   This program is free software; you can redistribute it and/or modify
5
 *   This program is free software; you can redistribute it and/or modify
6
 *   it under the terms of the GNU General Public License as published by
6
 *   it under the terms of the GNU General Public License as published by
7
 *   the Free Software Foundation; either version 2 of the License, or
7
 *   the Free Software Foundation; either version 2 of the License, or
...
...
43
string DocSequenceDb::getDescription() 
43
string DocSequenceDb::getDescription() 
44
{
44
{
45
    return m_sdata->getDescription();
45
    return m_sdata->getDescription();
46
}
46
}
47
47
48
bool DocSequenceDb::getDoc(int num, Rcl::Doc &doc, int *percent, string *sh)
48
bool DocSequenceDb::getDoc(int num, Rcl::Doc &doc, string *sh)
49
{
49
{
50
    if (sh) sh->erase();
50
    if (sh) sh->erase();
51
    return m_q->getDoc(num, doc, percent);
51
    return m_q->getDoc(num, doc);
52
}
52
}
53
53
54
int DocSequenceDb::getResCnt()
54
int DocSequenceDb::getResCnt()
55
{
55
{
56
    if (m_rescnt < 0) {
56
    if (m_rescnt < 0) {