summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2014-12-14 11:53:27 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2014-12-14 11:53:27 (GMT)
commit2716fc48889c3cffe46903cdb3a64bb0ac735449 (patch)
treea8b8a84294c53fa4abad356f8ce41d69d536c408 /src
parent02265be74ab808c38217c2458286e614386321e9 (diff)
parent73a5a4c48aec0c48353ecb8e5aa6d5ff02463132 (diff)
downloadDoxygen-2716fc48889c3cffe46903cdb3a64bb0ac735449.zip
Doxygen-2716fc48889c3cffe46903cdb3a64bb0ac735449.tar.gz
Doxygen-2716fc48889c3cffe46903cdb3a64bb0ac735449.tar.bz2
Merge pull request #261 from lhelsloot/feature/bug_722940
Bug 722940 - classes with same name in different namespace adding to same group
Diffstat (limited to 'src')
-rw-r--r--src/groupdef.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/groupdef.cpp b/src/groupdef.cpp
index 1c07113..5c08048 100644
--- a/src/groupdef.cpp
+++ b/src/groupdef.cpp
@@ -151,13 +151,13 @@ bool GroupDef::addClass(const ClassDef *cd)
static bool sortBriefDocs = Config_getBool("SORT_BRIEF_DOCS");
if (cd->isHidden()) return FALSE;
updateLanguage(cd);
- if (classSDict->find(cd->qualifiedName())==0)
+ QCString qn = cd->name();
+ if (classSDict->find(qn)==0)
{
- QCString qn = cd->qualifiedName();
//printf("--- addClass %s sort=%d\n",qn.data(),sortBriefDocs);
if (sortBriefDocs)
{
- classSDict->inSort(cd->qualifiedName(),cd);
+ classSDict->inSort(qn,cd);
}
else
{
@@ -180,13 +180,13 @@ bool GroupDef::addClass(const ClassDef *cd)
j++;
}
//printf("Found scope at index %d\n",j);
- classSDict->insertAt(j,cd->qualifiedName(),cd);
+ classSDict->insertAt(j,qn,cd);
found=TRUE;
}
}
if (!found) // no insertion point found -> just append
{
- classSDict->append(cd->qualifiedName(),cd);
+ classSDict->append(qn,cd);
}
}
return TRUE;