diff options
Diffstat (limited to 'src/index.cpp')
-rw-r--r-- | src/index.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/index.cpp b/src/index.cpp index 944d5db..5970a43 100644 --- a/src/index.cpp +++ b/src/index.cpp @@ -4129,16 +4129,19 @@ static void writeIndex(OutputList &ol) } QCString title = pd->title(); if (title.isEmpty()) title=pd->name(); + ol.startIndexSection(isPageDocumentation); ol.parseText(title); ol.endIndexSection(isPageDocumentation); + ol.pushGeneratorState(); // write TOC title (RTF only) ol.disableAllBut(OutputGenerator::RTF); ol.startIndexSection(isPageDocumentation2); ol.parseText(title); ol.endIndexSection(isPageDocumentation2); - ol.popGeneratorState(); - ol.writeAnchor(0,pd->name()); + ol.popGeneratorState(); + + ol.writeAnchor(0,pd->getOutputFileBase()); ol.writePageLink(pd->getOutputFileBase(),first); first=FALSE; |