summaryrefslogtreecommitdiffstats
path: root/src/index.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2013-08-04 09:58:15 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2013-08-04 09:58:15 (GMT)
commit66d184ce7e93d0c2b27fbb034180bebdbf1c26a1 (patch)
tree13fba2b5912ce3a6a558722a0cbdf53391ec37dd /src/index.cpp
parent4fcc416870f33b3ee00a0cdd156e267746a136f5 (diff)
downloadDoxygen-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.cpp7
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;