summaryrefslogtreecommitdiffstats
path: root/src/index.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2005-04-21 21:10:51 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2005-04-21 21:10:51 (GMT)
commit5d31b7ab211586100301d6838be82f066f8f9af4 (patch)
tree81218085d3e6e15b1ce6c418734013d48e9deda8 /src/index.cpp
parent76e39987363c93fdd3f2d99ffdb9f87743d6af7c (diff)
downloadDoxygen-5d31b7ab211586100301d6838be82f066f8f9af4.zip
Doxygen-5d31b7ab211586100301d6838be82f066f8f9af4.tar.gz
Doxygen-5d31b7ab211586100301d6838be82f066f8f9af4.tar.bz2
Release-1.4.2-20050421
Diffstat (limited to 'src/index.cpp')
-rw-r--r--src/index.cpp6
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");