mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-11 03:03:06 +00:00
Make the logic a bit clearer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24477 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
7cb13055f3
commit
8a74c33df1
@ -119,7 +119,8 @@ int InsetPrintNomencl::docbook(odocstream & os, OutputParams const &) const
|
||||
{
|
||||
os << "<glossary>\n";
|
||||
int newlines = 2;
|
||||
for (InsetIterator it = inset_iterator_begin(buffer().inset()); it;) {
|
||||
InsetIterator it = inset_iterator_begin(buffer().inset());
|
||||
while (it) {
|
||||
if (it->lyxCode() == NOMENCL_CODE) {
|
||||
newlines += static_cast<InsetNomencl const &>(*it).docbookGlossary(os);
|
||||
++it;
|
||||
|
Loading…
Reference in New Issue
Block a user