diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2001-10-14 18:01:08 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2001-10-14 18:01:08 (GMT) |
commit | 3c05bde563408b446333fb435b443d69903b156f (patch) | |
tree | bcdab6f521bde9211fb810a1adaf06fbc4a93504 /src/latexgen.cpp | |
parent | bbd28a0ff4c70dccb9729e6ce515c08fc4756272 (diff) | |
download | Doxygen-3c05bde563408b446333fb435b443d69903b156f.zip Doxygen-3c05bde563408b446333fb435b443d69903b156f.tar.gz Doxygen-3c05bde563408b446333fb435b443d69903b156f.tar.bz2 |
Release-1.2.11-20011014
Diffstat (limited to 'src/latexgen.cpp')
-rw-r--r-- | src/latexgen.cpp | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/src/latexgen.cpp b/src/latexgen.cpp index da50b21..1e42ee8 100644 --- a/src/latexgen.cpp +++ b/src/latexgen.cpp @@ -504,9 +504,10 @@ void LatexGenerator::startIndexSection(IndexSections is) break; case isModuleDocumentation: { - GroupDef *gd=Doxygen::groupList.first(); + GroupSDict::Iterator gli(Doxygen::groupSDict); + GroupDef *gd; bool found=FALSE; - while (gd && !found) + for (gli.toFirst();(gd=gli.current()) && !found;++gli) { if (!gd->isReference()) { @@ -514,7 +515,6 @@ void LatexGenerator::startIndexSection(IndexSections is) t << "{"; //Module Documentation}\n"; found=TRUE; } - gd=Doxygen::groupList.next(); } } break; @@ -659,25 +659,24 @@ void LatexGenerator::endIndexSection(IndexSections is) break; case isModuleDocumentation: { - GroupDef *gd=Doxygen::groupList.first(); + GroupSDict::Iterator gli(Doxygen::groupSDict); + GroupDef *gd; bool found=FALSE; - while (gd && !found) + for (gli.toFirst();(gd=gli.current()) && !found;++gli) { if (!gd->isReference()) { t << "}\n\\input{" << gd->getOutputFileBase() << "}\n"; found=TRUE; } - gd=Doxygen::groupList.next(); } - while (gd) + for (;(gd=gli.current());++gli) { if (!gd->isReference()) { if (compactLatex) t << "\\input"; else t << "\\include"; t << "{" << gd->getOutputFileBase() << "}\n"; } - gd=Doxygen::groupList.next(); } } break; @@ -759,7 +758,7 @@ void LatexGenerator::endIndexSection(IndexSections is) case isExampleDocumentation: { t << "}\n"; - PageSDictIterator pdi(*Doxygen::exampleSDict); + PageSDict::Iterator pdi(*Doxygen::exampleSDict); PageInfo *pi=pdi.toFirst(); if (pi) { @@ -775,7 +774,7 @@ void LatexGenerator::endIndexSection(IndexSections is) case isPageDocumentation: { t << "}\n"; - PageSDictIterator pdi(*Doxygen::pageSDict); + PageSDict::Iterator pdi(*Doxygen::pageSDict); PageInfo *pi=pdi.toFirst(); bool first=TRUE; for (pdi.toFirst();(pi=pdi.current());++pdi) |