diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2005-04-21 21:10:51 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2005-04-21 21:10:51 (GMT) |
commit | 4a8c2f5c896a1883a0611d972952a68498002ae5 (patch) | |
tree | 81218085d3e6e15b1ce6c418734013d48e9deda8 /src/index.cpp | |
parent | 570375c30adbdb66714d465d849b18e0df9dd6e6 (diff) | |
download | Doxygen-4a8c2f5c896a1883a0611d972952a68498002ae5.zip Doxygen-4a8c2f5c896a1883a0611d972952a68498002ae5.tar.gz Doxygen-4a8c2f5c896a1883a0611d972952a68498002ae5.tar.bz2 |
Release-1.4.2-20050421
Diffstat (limited to 'src/index.cpp')
-rw-r--r-- | src/index.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/index.cpp b/src/index.cpp index 07c77f6..d5d82a4 100644 --- a/src/index.cpp +++ b/src/index.cpp @@ -1514,6 +1514,7 @@ void writeMemberList(OutputList &ol,bool useSections, { bool first = TRUE; char lastChar = 0; + static bool hideFriendCompounds = Config_getBool("HIDE_FRIEND_COMPOUNDS"); MemberNameSDict::Iterator mnli(Doxygen::memberNameSDict); MemberName *mn=0; @@ -1527,7 +1528,7 @@ void writeMemberList(OutputList &ol,bool useSections, while (md && !found) { ClassDef *cd; - bool isFriendToHide = Config_getBool("HIDE_FRIEND_COMPOUNDS") && + bool isFriendToHide = hideFriendCompounds && (QCString(md->typeString())=="friend class" || QCString(md->typeString())=="friend struct" || QCString(md->typeString())=="friend union"); @@ -1615,6 +1616,7 @@ void writeMemberList(OutputList &ol,bool useSections, int countClassMembers(int filter) { + static bool hideFriendCompounds = Config_getBool("HIDE_FRIEND_COMPOUNDS"); int i=0;for (i=0;i<256;i++) g_memberIndexLetterUsed[filter][i]=FALSE; int count=0; MemberNameSDict::Iterator mnli(Doxygen::memberNameSDict); @@ -1626,7 +1628,7 @@ int countClassMembers(int filter) ClassDef *cd; while (md && !found) { - bool isFriendToHide = Config_getBool("HIDE_FRIEND_COMPOUNDS") && + bool isFriendToHide = hideFriendCompounds && (QCString(md->typeString())=="friend class" || QCString(md->typeString())=="friend struct" || QCString(md->typeString())=="friend union"); |