Switch to unified view

a/src/qtgui/spell_w.cpp b/src/qtgui/spell_w.cpp
...
...
330
    for (vector<string>::const_iterator it = allmimetypes.begin();
330
    for (vector<string>::const_iterator it = allmimetypes.begin();
331
     it != allmimetypes.end(); it++) {
331
     it != allmimetypes.end(); it++) {
332
    string reason;
332
    string reason;
333
    string q = string("mime:") + *it;
333
    string q = string("mime:") + *it;
334
    Rcl::SearchData *sd = wasaStringToRcl(theconfig, "", q, reason);
334
    Rcl::SearchData *sd = wasaStringToRcl(theconfig, "", q, reason);
335
  RefCntr<Rcl::SearchData> rq(sd);
335
  STD_SHARED_PTR<Rcl::SearchData> rq(sd);
336
    Rcl::Query query(rcldb);
336
    Rcl::Query query(rcldb);
337
    if (!query.setQuery(rq)) {
337
    if (!query.setQuery(rq)) {
338
        LOGERR(("Query setup failed: %s",query.getReason().c_str()));
338
        LOGERR(("Query setup failed: %s",query.getReason().c_str()));
339
        return;
339
        return;
340
    }
340
    }