summaryrefslogtreecommitdiffstats
path: root/src/latexgen.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2001-05-17 19:26:02 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2001-05-17 19:26:02 (GMT)
commit75fed7362598edf5a7210505cd38c92821863a39 (patch)
treecb90fc9b85934eb220249aae4ffd7e4979489b16 /src/latexgen.cpp
parentf5f5db18c34651c19f63a972e70087ce2131e764 (diff)
downloadDoxygen-75fed7362598edf5a7210505cd38c92821863a39.zip
Doxygen-75fed7362598edf5a7210505cd38c92821863a39.tar.gz
Doxygen-75fed7362598edf5a7210505cd38c92821863a39.tar.bz2
Release-20010517
Diffstat (limited to 'src/latexgen.cpp')
-rw-r--r--src/latexgen.cpp15
1 files changed, 7 insertions, 8 deletions
diff --git a/src/latexgen.cpp b/src/latexgen.cpp
index 00f12e9..8fb0a50 100644
--- a/src/latexgen.cpp
+++ b/src/latexgen.cpp
@@ -536,9 +536,10 @@ void LatexGenerator::startIndexSection(IndexSections is)
break;
case isClassDocumentation:
{
- ClassDef *cd=Doxygen::classList.first();
+ ClassSDict::Iterator cli(Doxygen::classSDict);
+ ClassDef *cd=0;
bool found=FALSE;
- while (cd && !found)
+ for (cli.toFirst();(cd=cli.current()) && !found;++cli)
{
if (cd->isLinkableInProject())
{
@@ -546,7 +547,6 @@ void LatexGenerator::startIndexSection(IndexSections is)
t << "{"; //Compound Documentation}\n";
found=TRUE;
}
- cd=Doxygen::classList.next();
}
}
break;
@@ -703,25 +703,24 @@ void LatexGenerator::endIndexSection(IndexSections is)
break;
case isClassDocumentation:
{
- ClassDef *cd=Doxygen::classList.first();
+ ClassSDict::Iterator cli(Doxygen::classSDict);
+ ClassDef *cd=0;
bool found=FALSE;
- while (cd && !found)
+ for (cli.toFirst();(cd=cli.current()) && !found;++cli)
{
if (cd->isLinkableInProject())
{
t << "}\n\\input{" << cd->getOutputFileBase() << "}\n";
found=TRUE;
}
- cd=Doxygen::classList.next();
}
- while (cd)
+ for (;(cd=cli.current());++cli)
{
if (cd->isLinkableInProject())
{
if (compactLatex) t << "\\input"; else t << "\\include";
t << "{" << cd->getOutputFileBase() << "}\n";
}
- cd=Doxygen::classList.next();
}
}
break;