summaryrefslogtreecommitdiffstats
path: root/src/qhp.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2010-07-28 19:05:01 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2010-07-28 19:05:01 (GMT)
commit4ad0d24c5b3a0afd99722ae5c33968ff9fa44e2d (patch)
treeaa81c2bd3e6109417a6bd30d6a58111d892f25f2 /src/qhp.cpp
parentc37c8626674dd6ba0d53dcad84dd4bb5d92005a4 (diff)
downloadDoxygen-4ad0d24c5b3a0afd99722ae5c33968ff9fa44e2d.zip
Doxygen-4ad0d24c5b3a0afd99722ae5c33968ff9fa44e2d.tar.gz
Doxygen-4ad0d24c5b3a0afd99722ae5c33968ff9fa44e2d.tar.bz2
Release-1.7.1-20100728
Diffstat (limited to 'src/qhp.cpp')
-rw-r--r--src/qhp.cpp15
1 files changed, 3 insertions, 12 deletions
diff --git a/src/qhp.cpp b/src/qhp.cpp
index f38cf39..0f3e3ad 100644
--- a/src/qhp.cpp
+++ b/src/qhp.cpp
@@ -188,9 +188,8 @@ void Qhp::addContentsItem(bool /*isDir*/, const char * name,
}
void Qhp::addIndexItem(Definition *context,MemberDef *md,
- const char *anc,const char *word)
+ const char *word)
{
- (void)anc;
(void)word;
if (md) // member
@@ -209,7 +208,7 @@ void Qhp::addIndexItem(Definition *context,MemberDef *md,
QCString level1 = context->name();
QCString level2 = word ? QCString(word) : md->name();
QCString contRef = separateMemberPages ? cfname : cfiname;
- QCString anchor = anc;
+ QCString anchor = md->anchor();
QCString ref;
@@ -230,15 +229,7 @@ void Qhp::addIndexItem(Definition *context,MemberDef *md,
// <keyword name="Foo" id="Foo" ref="doc.html"/>
QCString contRef = context->getOutputFileBase();
QCString level1 = word ? QCString(word) : context->name();
- QCString ref;
- if (anc)
- {
- ref = makeRef(contRef,anc);
- }
- else
- {
- ref = makeFileName(contRef);
- }
+ QCString ref = makeFileName(contRef);
const char * attributes[] =
{
"name", level1,