summaryrefslogtreecommitdiffstats
path: root/src/vhdldocgen.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2015-01-02 16:28:03 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2015-01-02 16:28:03 (GMT)
commit34b00c442308efe169cc89fad62588fdce1d84e8 (patch)
tree19ceab12fa37beece4a9a94a0dff26ed14a28779 /src/vhdldocgen.cpp
parent981515820134a2171d2b6a912275e919f56532b4 (diff)
downloadDoxygen-34b00c442308efe169cc89fad62588fdce1d84e8.zip
Doxygen-34b00c442308efe169cc89fad62588fdce1d84e8.tar.gz
Doxygen-34b00c442308efe169cc89fad62588fdce1d84e8.tar.bz2
Various VHDL related fixes
Diffstat (limited to 'src/vhdldocgen.cpp')
-rw-r--r--src/vhdldocgen.cpp12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/vhdldocgen.cpp b/src/vhdldocgen.cpp
index 3f7cd1d..093f446 100644
--- a/src/vhdldocgen.cpp
+++ b/src/vhdldocgen.cpp
@@ -800,12 +800,9 @@ MemberDef* VhdlDocGen::findMember(const QCString& className, const QCString& mem
if (!packages.contains(ecd)) VhdlDocGen::findAllPackages(ecd);
}
- uint len=packages.count();
- for (uint j=0;j<len;j++)
- {
- for (QMap<ClassDef*,QList<ClassDef> >::Iterator cList=packages.begin();cList != packages.end();cList++)
- {
- if (cList.key()==0) continue;
+ QMap<ClassDef*,QList<ClassDef> >::Iterator cList=packages.find(ecd);
+ if (cList.key()!=0)
+ {
QList<ClassDef> mlist=cList.data();
for (uint j=0;j<mlist.count();j++)
{
@@ -814,8 +811,7 @@ MemberDef* VhdlDocGen::findMember(const QCString& className, const QCString& mem
mdef=VhdlDocGen::findMemberDef(mlist.at(j),memName,MemberListType_pubMethods);
if (mdef) return mdef;
}
- }
- }
+ }
return 0;
}//findMember