|
a/src/qtgui/spell_w.cpp |
|
b/src/qtgui/spell_w.cpp |
|
... |
|
... |
360 |
for (vector<string>::const_iterator it = allmimetypes.begin();
|
360 |
for (vector<string>::const_iterator it = allmimetypes.begin();
|
361 |
it != allmimetypes.end(); it++) {
|
361 |
it != allmimetypes.end(); it++) {
|
362 |
string reason;
|
362 |
string reason;
|
363 |
string q = string("mime:") + *it;
|
363 |
string q = string("mime:") + *it;
|
364 |
Rcl::SearchData *sd = wasaStringToRcl(theconfig, "", q, reason);
|
364 |
Rcl::SearchData *sd = wasaStringToRcl(theconfig, "", q, reason);
|
365 |
STD_SHARED_PTR<Rcl::SearchData> rq(sd);
|
365 |
std::shared_ptr<Rcl::SearchData> rq(sd);
|
366 |
Rcl::Query query(rcldb);
|
366 |
Rcl::Query query(rcldb);
|
367 |
if (!query.setQuery(rq)) {
|
367 |
if (!query.setQuery(rq)) {
|
368 |
LOGERR("Query setup failed: " << (query.getReason()) << "" );
|
368 |
LOGERR("Query setup failed: " << (query.getReason()) << "" );
|
369 |
return;
|
369 |
return;
|
370 |
}
|
370 |
}
|