diff --git a/src/Paragraph.cpp b/src/Paragraph.cpp index 3201105b17..8635bc2f4a 100644 --- a/src/Paragraph.cpp +++ b/src/Paragraph.cpp @@ -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)