mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 19:25:39 +00:00
one less use of inset codes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24476 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
92e71f01ee
commit
7cb13055f3
@ -123,9 +123,8 @@ int InsetPrintNomencl::docbook(odocstream & os, OutputParams const &) const
|
||||
if (it->lyxCode() == NOMENCL_CODE) {
|
||||
newlines += static_cast<InsetNomencl const &>(*it).docbookGlossary(os);
|
||||
++it;
|
||||
} else if(it->lyxCode() == NOTE_CODE &&
|
||||
static_cast<InsetNote const &>(*it).params().type == InsetNoteParams::Note) {
|
||||
// Don't output anything nested in note insets
|
||||
} else if (!it->producesOutput()) {
|
||||
// Ignore contents of insets that are not in output
|
||||
size_t const depth = it.depth();
|
||||
++it;
|
||||
while (it.depth() > depth)
|
||||
|
Loading…
Reference in New Issue
Block a user