mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 02:14:50 +00:00
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:
parent
21ff30cc38
commit
17e1b2b59d
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user