when validating a paragraph, skip insets that do not produce output

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27719 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2008-11-27 08:32:52 +00:00
parent aaf27b169d
commit 4d07d0b61c

View File

@ -1069,7 +1069,7 @@ void Paragraph::Private::validate(LaTeXFeatures & features,
InsetList::const_iterator icit = insetlist_.begin();
InsetList::const_iterator iend = insetlist_.end();
for (; icit != iend; ++icit) {
if (icit->inset) {
if (icit->inset && icit->inset->producesOutput()) {
icit->inset->validate(features);
if (layout.needprotect &&
icit->inset->lyxCode() == FOOT_CODE)