diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2005-10-04 17:59:31 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2005-10-04 17:59:31 (GMT) |
commit | 22eb9881c15ad001246cfcde1c727a2f98f472df (patch) | |
tree | c777493c5b4e995749975a8c04c2e5990035a641 /src/memberdef.cpp | |
parent | 22dc10cfbe5042f21b9d706e5e8bb41749f65786 (diff) | |
download | Doxygen-22eb9881c15ad001246cfcde1c727a2f98f472df.zip Doxygen-22eb9881c15ad001246cfcde1c727a2f98f472df.tar.gz Doxygen-22eb9881c15ad001246cfcde1c727a2f98f472df.tar.bz2 |
Release-1.4.5
Diffstat (limited to 'src/memberdef.cpp')
-rw-r--r-- | src/memberdef.cpp | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/memberdef.cpp b/src/memberdef.cpp index 51eeed3..748fb9a 100644 --- a/src/memberdef.cpp +++ b/src/memberdef.cpp @@ -17,6 +17,7 @@ #include <stdio.h> #include <qregexp.h> +#include <md5.h> #include "memberdef.h" #include "membername.h" #include "doxygen.h" @@ -2007,6 +2008,7 @@ QCString MemberDef::getScopeString() const return result; } +#if 0 static QCString escapeAnchor(const QCString &anchor) { QCString result; @@ -2029,6 +2031,7 @@ static QCString escapeAnchor(const QCString &anchor) } return result; } +#endif void MemberDef::setAnchor(const char *a) { @@ -2036,7 +2039,14 @@ void MemberDef::setAnchor(const char *a) a=a; QCString memAnchor = name(); if (!args.isEmpty()) memAnchor+=args; - anc = escapeAnchor(memAnchor); + //anc = escapeAnchor(memAnchor); + + // convert to md5 hash + uchar md5_sig[16]; + QCString sigStr(33); + MD5Buffer((const unsigned char *)memAnchor.data(),memAnchor.length(),md5_sig); + MD5SigToString(md5_sig,sigStr.data(),33); + anc = sigStr; } void MemberDef::setGroupDef(GroupDef *gd,Grouping::GroupPri_t pri, |