summaryrefslogtreecommitdiffstats
path: root/src/rtfgen.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2001-05-17 19:26:02 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2001-05-17 19:26:02 (GMT)
commit0921be2562e370352af05de47c5d997321874012 (patch)
treecb90fc9b85934eb220249aae4ffd7e4979489b16 /src/rtfgen.cpp
parent76e77e750cda807a7aa12d73d1fa0e5e6f24b043 (diff)
downloadDoxygen-0921be2562e370352af05de47c5d997321874012.zip
Doxygen-0921be2562e370352af05de47c5d997321874012.tar.gz
Doxygen-0921be2562e370352af05de47c5d997321874012.tar.bz2
Release-20010517
Diffstat (limited to 'src/rtfgen.cpp')
-rw-r--r--src/rtfgen.cpp15
1 files changed, 7 insertions, 8 deletions
diff --git a/src/rtfgen.cpp b/src/rtfgen.cpp
index be3b676..a85e017 100644
--- a/src/rtfgen.cpp
+++ b/src/rtfgen.cpp
@@ -991,16 +991,16 @@ void RTFGenerator::startIndexSection(IndexSections is)
case isClassDocumentation:
{
//Compound Documentation
- 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())
{
beginRTFChapter();
found=TRUE;
}
- cd=Doxygen::classList.next();
}
}
break;
@@ -1220,11 +1220,12 @@ void RTFGenerator::endIndexSection(IndexSections is)
break;
case isClassDocumentation:
{
- ClassDef *cd=Doxygen::classList.first();
+ ClassSDict::Iterator cli(Doxygen::classSDict);
+ ClassDef *cd=0;
bool found=FALSE;
t << "{\\tc \\v " << theTranslator->trClassDocumentation() << "}"<< endl;
- while (cd && !found)
+ for (cli.toFirst();(cd=cli.current()) && !found;++cli)
{
if (cd->isLinkableInProject())
{
@@ -1234,9 +1235,8 @@ void RTFGenerator::endIndexSection(IndexSections is)
t << ".rtf\" \\\\*MERGEFORMAT}{\\fldrslt includedstuff}}\n";
found=TRUE;
}
- cd=Doxygen::classList.next();
}
- while (cd)
+ for (;(cd=cli.current());++cli)
{
if (cd->isLinkableInProject())
{
@@ -1246,7 +1246,6 @@ void RTFGenerator::endIndexSection(IndexSections is)
t << cd->getOutputFileBase();
t << ".rtf\" \\\\*MERGEFORMAT}{\\fldrslt includedstuff}}\n";
}
- cd=Doxygen::classList.next();
}
}
break;