cleaned up the missing helper storage class

This commit is contained in:
Jean-Francois Dockes
2012-10-28 16:43:19 +01:00
parent f9aff8fecc
commit b8963db4b1
4 changed files with 38 additions and 39 deletions
+1 -1
View File
@@ -766,7 +766,7 @@ class LoadThread : public QThread {
imgtmp = interner.get_imgtmp();
} else {
out.mimetype = interner.getMimetype();
interner.getMissingExternal(&mst, missing);
mst.getMissingExternal(missing);
*statusp = -1;
}
} catch (CancelExcept) {
+3 -3
View File
@@ -1127,11 +1127,11 @@ void RclMain::showActiveTypes()
mtypesfromdbconf.insert(*it);
}
// Substract the types for missing helpers (the docs are indexed by name only):
// Substract the types for missing helpers (the docs are indexed
// by name only):
string miss = theconfig->getMissingHelperDesc();
if (!miss.empty()) {
FIMissingStore st;
FileInterner::getMissingFromDescription(&st, miss);
FIMissingStore st(miss);
map<string, set<string> >::const_iterator it;
for (it = st.m_typesForMissing.begin();
it != st.m_typesForMissing.end(); it++) {