From 17e1b2b59d92b87f26da4522821022827be57e26 Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Mon, 28 Jan 2008 11:42:54 +0000 Subject: [PATCH] revert erroneous commit git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22696 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/Paragraph.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/Paragraph.cpp b/src/Paragraph.cpp index 19a99cfe09..c7e33b1db2 100644 --- a/src/Paragraph.cpp +++ b/src/Paragraph.cpp @@ -991,6 +991,13 @@ void Paragraph::Private::validate(LaTeXFeatures & features, // then the layouts features.useLayout(layout.name()); + if (!layout.requires().empty()) { + vector req = layout.requires(); + for (vector::const_iterator it = req.begin(); + it != req.end(); ++it) { + features.require(*it); + } + } // then the fonts fontlist_.validate(features); -- 2.39.2