diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2010-08-22 19:30:14 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2010-08-22 19:30:14 (GMT) |
commit | 20bc00a80ad6bcda730a1762c3700c8f63fa16eb (patch) | |
tree | e5faa5e8d675f525b1cd2f397645136f8193b36f /src/memberlist.cpp | |
parent | 4ad0d24c5b3a0afd99722ae5c33968ff9fa44e2d (diff) | |
download | Doxygen-20bc00a80ad6bcda730a1762c3700c8f63fa16eb.zip Doxygen-20bc00a80ad6bcda730a1762c3700c8f63fa16eb.tar.gz Doxygen-20bc00a80ad6bcda730a1762c3700c8f63fa16eb.tar.bz2 |
Release-1.7.1-20100822
Diffstat (limited to 'src/memberlist.cpp')
-rw-r--r-- | src/memberlist.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/memberlist.cpp b/src/memberlist.cpp index cf0235e..fddb0b4 100644 --- a/src/memberlist.cpp +++ b/src/memberlist.cpp @@ -409,12 +409,12 @@ void MemberList::writeDeclarations(OutputList &ol, if (numDecMembers()==0) return; //printf("%p: MemberList::writeDeclaration(title=`%s',subtitle=`%s')=%d\n", // this,title,subtitle,numDecMembers()); + ol.startMemberHeader(listTypeAsString()); if (title) { - ol.startMemberHeader(listTypeAsString()); ol.parseText(title); - ol.endMemberHeader(); } + ol.endMemberHeader(); if (subtitle) { QCString st=subtitle; @@ -449,8 +449,8 @@ void MemberList::writeDeclarations(OutputList &ol, MemberGroup *mg; while ((mg=mgli.current())) { - //printf("mg->header=%s\n",mg->header().data()); - bool hasHeader=mg->header()!="[NOHEADER]"; + bool hasHeader=!mg->header().isEmpty() && mg->header()!="[NOHEADER]"; + //printf("mg->header=%s hasHeader=%d\n",mg->header().data(),hasHeader); ol.startMemberGroupHeader(hasHeader); if (hasHeader) { |