Permalink
Browse files

Bug 743604 - Duplicate anchors from tagfiles

  • Loading branch information...
Dimitri van Heesch
Dimitri van Heesch committed Feb 3, 2015
1 parent 6b24aba commit 1f21c23c57c91ba6901c0de38bb236f7246e88c9
Showing with 7 additions and 7 deletions.
  1. +5 −5 src/doxygen.cpp
  2. +2 −2 src/index.cpp
View
@@ -10636,36 +10636,36 @@ static void writeTagFile()
FileDef *fd;
for (fni.toFirst();(fd=fni.current());++fni)
{
fd->writeTagFile(tagFile);
if (fd->isLinkableInProject()) fd->writeTagFile(tagFile);
}
}
// for each class
ClassSDict::Iterator cli(*Doxygen::classSDict);
ClassDef *cd;
for ( ; (cd=cli.current()) ; ++cli )
{
cd->writeTagFile(tagFile);
if (cd->isLinkableInProject()) cd->writeTagFile(tagFile);
}
// for each namespace
NamespaceSDict::Iterator nli(*Doxygen::namespaceSDict);
NamespaceDef *nd;
for ( ; (nd=nli.current()) ; ++nli )
{
nd->writeTagFile(tagFile);
if (nd->isLinkableInProject()) nd->writeTagFile(tagFile);
}
// for each group
GroupSDict::Iterator gli(*Doxygen::groupSDict);
GroupDef *gd;
for (gli.toFirst();(gd=gli.current());++gli)
{
gd->writeTagFile(tagFile);
if (gd->isLinkableInProject()) gd->writeTagFile(tagFile);
}
// for each page
PageSDict::Iterator pdi(*Doxygen::pageSDict);
PageDef *pd=0;
for (pdi.toFirst();(pd=pdi.current());++pdi)
{
pd->writeTagFile(tagFile);
if (pd->isLinkableInProject()) pd->writeTagFile(tagFile);
}
if (Doxygen::mainPage) Doxygen::mainPage->writeTagFile(tagFile);
View
@@ -3114,9 +3114,9 @@ static void writePages(PageDef *pd,FTVHelp *ftv)
if (ftv)
{
//printf("*** adding %s\n",pageTitle.data());
//printf("*** adding %s hasSubPages=%d hasSections=%d\n",pageTitle.data(),hasSubPages,hasSections);
ftv->addContentsItem(
hasSubPages || hasSections,pageTitle,
hasSubPages,pageTitle,
pd->getReference(),pd->getOutputFileBase(),
0,hasSubPages,TRUE,pd);
}

0 comments on commit 1f21c23

Please sign in to comment.