diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2012-04-08 14:16:03 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2012-04-08 14:16:03 (GMT) |
commit | 17ee30b327bf4f07f2411a50a46f5467456beacf (patch) | |
tree | ffd092e761289b417363c0562ceb9b93b88f19a4 /src/util.cpp | |
parent | 0039b4f79ad7e628dcab61e1d82f26fb8fa11cfe (diff) | |
download | Doxygen-17ee30b327bf4f07f2411a50a46f5467456beacf.zip Doxygen-17ee30b327bf4f07f2411a50a46f5467456beacf.tar.gz Doxygen-17ee30b327bf4f07f2411a50a46f5467456beacf.tar.bz2 |
Release-1.8.0-20120408
Diffstat (limited to 'src/util.cpp')
-rw-r--r-- | src/util.cpp | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/src/util.cpp b/src/util.cpp index 41b2991..56dd787 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -436,7 +436,7 @@ QCString resolveTypeDef(Definition *context,const QCString &qualifiedName, // qualifiedName.data(),context->name().data(),md->typeString(),md->argsString() // ); result=md->typeString(); - QString args = md->argsString(); + QCString args = md->argsString(); if (args.find(")(")!=-1) // typedef of a function/member pointer { result+=args; @@ -4539,7 +4539,7 @@ bool resolveLink(/* in */ const char *scName, *resContext=nd; return TRUE; } - else if ((dir=Doxygen::directories->find(QFileInfo(linkRef).absFilePath()+"/")) + else if ((dir=Doxygen::directories->find(QFileInfo(linkRef).absFilePath().utf8()+"/")) && dir->isLinkable()) // TODO: make this location independent like filedefs { *resContext=dir; @@ -4906,6 +4906,7 @@ QCString escapeCharsInString(const char *name,bool allowDots,bool allowUnderscor case '+': growBuf.addStr("_09"); break; case '=': growBuf.addStr("_0A"); break; case '$': growBuf.addStr("_0B"); break; + case '\\': growBuf.addStr("_0C"); break; default: if (c<0) { @@ -6880,11 +6881,7 @@ void writeTypeConstraints(OutputList &ol,Definition *d,ArgumentList *al) ol.endConstraintList(); } -bool usingTreeIndex() -{ - static bool treeView = Config_getBool("USE_INLINE_TREES"); - return treeView; -} +//---------------------------------------------------------------------------- void stackTrace() { @@ -7340,7 +7337,7 @@ QCString correctURL(const QCString &url,const QCString &relPath) QCString result = url; if (!relPath.isEmpty() && url.left(5)!="http:" && url.left(6)!="https:" && - url.left(4)!="ftp:" && url.left(5)!="file:") + url.left(4)!="ftp:" && url.left(5)!="file:") { result.prepend(relPath); } |