revert erroneous commit

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22696 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2008-01-28 11:42:54 +00:00
parent 21ff30cc38
commit 17e1b2b59d

View File

@ -991,6 +991,13 @@ void Paragraph::Private::validate(LaTeXFeatures & features,
// then the layouts
features.useLayout(layout.name());
if (!layout.requires().empty()) {
vector<string> req = layout.requires();
for (vector<string>::const_iterator it = req.begin();
it != req.end(); ++it) {
features.require(*it);
}
}
// then the fonts
fontlist_.validate(features);