Remove unneeded std::.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32736 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Vincent van Ravesteijn 2010-01-01 02:43:44 +00:00
parent 02e0a3d207
commit 481d512652

View File

@ -303,9 +303,9 @@ private:
return dynamic_cast<GuiIdListModel *>(selectedModel); return dynamic_cast<GuiIdListModel *>(selectedModel);
} }
/// keeps a list of the modules the text class provides /// keeps a list of the modules the text class provides
std::list<std::string> provided_modules_; list<string> provided_modules_;
/// similarly... /// similarly...
std::list<std::string> excluded_modules_; list<string> excluded_modules_;
/// ///
GuiDocument const * container_; GuiDocument const * container_;
}; };
@ -434,26 +434,26 @@ void ModuleSelectionManager::updateDelPB()
// required module. There would be more flexible ways to proceed, // required module. There would be more flexible ways to proceed,
// but that would be a lot more complicated, and the logic here is // but that would be a lot more complicated, and the logic here is
// already complicated. (That's why I've left the debugging code.) // already complicated. (That's why I've left the debugging code.)
// lyxerr << "Testing " << thisMod << std::endl; // lyxerr << "Testing " << thisMod << endl;
bool foundone = false; bool foundone = false;
for (int j = 0; j < curRow; ++j) { for (int j = 0; j < curRow; ++j) {
string const mod = getSelectedModel()->getIDString(j); string const mod = getSelectedModel()->getIDString(j);
// lyxerr << "In loop: Testing " << mod << std::endl; // lyxerr << "In loop: Testing " << mod << endl;
// do we satisfy the require? // do we satisfy the require?
if (find(reqs.begin(), reqs.end(), mod) != reqs.end()) { if (find(reqs.begin(), reqs.end(), mod) != reqs.end()) {
// lyxerr << mod << " does the trick." << std::endl; // lyxerr << mod << " does the trick." << endl;
foundone = true; foundone = true;
break; break;
} }
} }
// did we find a module to satisfy the require? // did we find a module to satisfy the require?
if (!foundone) { if (!foundone) {
// lyxerr << "No matching module found." << std::endl; // lyxerr << "No matching module found." << endl;
deletePB->setEnabled(false); deletePB->setEnabled(false);
return; return;
} }
} }
// lyxerr << "All's well that ends well." << std::endl; // lyxerr << "All's well that ends well." << endl;
deletePB->setEnabled(true); deletePB->setEnabled(true);
} }