summaryrefslogtreecommitdiffstats
path: root/src/latexgen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/latexgen.cpp')
-rw-r--r--src/latexgen.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/latexgen.cpp b/src/latexgen.cpp
index e473e79..93eed7e 100644
--- a/src/latexgen.cpp
+++ b/src/latexgen.cpp
@@ -726,11 +726,13 @@ void LatexGenerator::startIndexSection(IndexSections is)
case isFileDocumentation:
{
bool isFirst=TRUE;
- FileName *fn=Doxygen::inputNameList->first();
- while (fn)
+ FileNameListIterator fnli(*Doxygen::inputNameList);
+ FileName *fn;
+ for (fnli.toFirst();(fn=fnli.current());++fnli)
{
- FileDef *fd=fn->first();
- while (fd)
+ FileNameIterator fni(*fn);
+ FileDef *fd;
+ for (;(fd=fni.current());++fni)
{
if (fd->isLinkableInProject())
{
@@ -742,9 +744,7 @@ void LatexGenerator::startIndexSection(IndexSections is)
break;
}
}
- fd=fn->next();
}
- fn=Doxygen::inputNameList->next();
}
}
break;
@@ -919,11 +919,13 @@ void LatexGenerator::endIndexSection(IndexSections is)
case isFileDocumentation:
{
bool isFirst=TRUE;
- FileName *fn=Doxygen::inputNameList->first();
- while (fn)
+ FileNameListIterator fnli(*Doxygen::inputNameList);
+ FileName *fn;
+ for (fnli.toFirst();(fn=fnli.current());++fnli)
{
- FileDef *fd=fn->first();
- while (fd)
+ FileNameIterator fni(*fn);
+ FileDef *fd;
+ for (;(fd=fni.current());++fni)
{
if (fd->isLinkableInProject())
{
@@ -949,9 +951,7 @@ void LatexGenerator::endIndexSection(IndexSections is)
}
}
}
- fd=fn->next();
}
- fn=Doxygen::inputNameList->next();
}
}
break;