mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-30 05:12:40 +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) {
|
if (it->lyxCode() == NOMENCL_CODE) {
|
||||||
newlines += static_cast<InsetNomencl const &>(*it).docbookGlossary(os);
|
newlines += static_cast<InsetNomencl const &>(*it).docbookGlossary(os);
|
||||||
++it;
|
++it;
|
||||||
} else if(it->lyxCode() == NOTE_CODE &&
|
} else if (!it->producesOutput()) {
|
||||||
static_cast<InsetNote const &>(*it).params().type == InsetNoteParams::Note) {
|
// Ignore contents of insets that are not in output
|
||||||
// Don't output anything nested in note insets
|
|
||||||
size_t const depth = it.depth();
|
size_t const depth = it.depth();
|
||||||
++it;
|
++it;
|
||||||
while (it.depth() > depth)
|
while (it.depth() > depth)
|
||||||
|
Loading…
Reference in New Issue
Block a user