diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2013-08-04 09:58:15 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2013-08-04 09:58:15 (GMT) |
commit | 66d184ce7e93d0c2b27fbb034180bebdbf1c26a1 (patch) | |
tree | 13fba2b5912ce3a6a558722a0cbdf53391ec37dd /src/index.cpp | |
parent | 4fcc416870f33b3ee00a0cdd156e267746a136f5 (diff) | |
download | Doxygen-66d184ce7e93d0c2b27fbb034180bebdbf1c26a1.zip Doxygen-66d184ce7e93d0c2b27fbb034180bebdbf1c26a1.tar.gz Doxygen-66d184ce7e93d0c2b27fbb034180bebdbf1c26a1.tar.bz2 |
Bug 688858 - SHORT_NAMES break references to \page in PDF output
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; |