mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-03 14:13:58 +00:00
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:
parent
aaf27b169d
commit
4d07d0b61c
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user