diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2003-03-30 19:53:04 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2003-03-30 19:53:04 (GMT) |
commit | 535ddc3bb7b6a6d4b50855a06838c11b84a9f3fd (patch) | |
tree | dcb3e2354df7b19ebd9458aca416a61d4922bc5c /src/util.cpp | |
parent | 5eeee0ed4c1692c9a367a1232b74e44f1c4a460a (diff) | |
download | Doxygen-535ddc3bb7b6a6d4b50855a06838c11b84a9f3fd.zip Doxygen-535ddc3bb7b6a6d4b50855a06838c11b84a9f3fd.tar.gz Doxygen-535ddc3bb7b6a6d4b50855a06838c11b84a9f3fd.tar.bz2 |
Release-1.3-rc3-20030330
Diffstat (limited to 'src/util.cpp')
-rw-r--r-- | src/util.cpp | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/src/util.cpp b/src/util.cpp index 75ca37f..494a333 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -467,9 +467,11 @@ QCString resolveTypeDef(Definition *context,const QCString &qualifiedName, MemberDef *tmd=0; for (;(tmd=mni.current());++mni) { - //printf("Found member %s scope=%p mContext=%p\n",tmd->name().data(), - // tmd->getOuterScope(),mContext); - if (tmd->isTypedef() && tmd->getOuterScope()==resScope) + //printf("Found member %s resScope=%s outerScope=%s mContext=%p\n", + // tmd->name().data(), resScope->name().data(), + // tmd->getOuterScope()->name().data(), mContext); + if (tmd->isTypedef() /*&& tmd->getOuterScope()==resScope*/) + /*! TODO: look if resScope is visible within tmd->getOuterScope() */ { md=tmd; } @@ -2739,6 +2741,10 @@ bool generateLink(OutputDocInterface &od,const char *clName, { linkText=((GroupDef *)compound)->groupTitle(); // use group's title as link } + else if (compound->definitionType()==Definition::TypeFile) + { + linkText=lt; // use text "as is" + } od.writeObjectLink(compound->getReference(), compound->getOutputFileBase(),anchor,linkText); if (!compound->isReference()) @@ -2761,6 +2767,7 @@ bool generateLink(OutputDocInterface &od,const char *clName, void generateFileRef(OutputDocInterface &od,const char *name,const char *text) { + //printf("generateFileRef(%s,%s)\n",name,text); QCString linkText = text ? text : name; //FileInfo *fi; FileDef *fd; @@ -3581,7 +3588,8 @@ found: //---------------------------------------------------------------------------- PageInfo *addRelatedPage(const char *name,const QCString &ptitle, - const QCString &doc,QList<QCString> *anchors, + const QCString &doc, + QList<QCString> * /*anchors*/, const char *fileName,int startLine, const QList<ListItemInfo> *sli, GroupDef *gd, @@ -3634,7 +3642,7 @@ PageInfo *addRelatedPage(const char *name,const QCString &ptitle, pageName=pi->name.lower(); //setFileNameForSections(anchors,pageName,pi); pi->fileName = pageName; - pi->addSections(anchors); + //pi->addSections(anchors); //printf("Appending page `%s'\n",baseName.data()); Doxygen::pageSDict->append(baseName,pi); |