summaryrefslogtreecommitdiffstats
path: root/src/rtfgen.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2000-07-23 15:31:35 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2000-07-23 15:31:35 (GMT)
commit422c14b6f19d70c78762ea571031f142acf9a972 (patch)
tree191fcbf13137ceda80267e217af7556d5a1f194e /src/rtfgen.cpp
parent686cb8df0c558cdfe8b0b9a48355566391daf073 (diff)
downloadDoxygen-422c14b6f19d70c78762ea571031f142acf9a972.zip
Doxygen-422c14b6f19d70c78762ea571031f142acf9a972.tar.gz
Doxygen-422c14b6f19d70c78762ea571031f142acf9a972.tar.bz2
Release-1.2.0
Diffstat (limited to 'src/rtfgen.cpp')
-rw-r--r--src/rtfgen.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/rtfgen.cpp b/src/rtfgen.cpp
index 1dc7e87..5239ffd 100644
--- a/src/rtfgen.cpp
+++ b/src/rtfgen.cpp
@@ -650,7 +650,7 @@ void RTFGenerator::startIndexSection(IndexSections is)
bool found=FALSE;
while (gd && !found)
{
- if (gd->isLinkableInProject() || gd->countMembers()>0)
+ if (gd->countMembers()>0)
{
beginRTFChapter();
found=TRUE;
@@ -666,7 +666,7 @@ void RTFGenerator::startIndexSection(IndexSections is)
bool found=FALSE;
while (nd && !found)
{
- if (nd->isLinkableInProject())
+ if (nd->isLinkableInProject() && nd->countMembers()>0)
{
beginRTFChapter();
found=TRUE;
@@ -840,7 +840,7 @@ void RTFGenerator::endIndexSection(IndexSections is)
bool found=FALSE;
while (nd && !found)
{
- if (nd->isLinkableInProject() || nd->countMembers()>0)
+ if (nd->isLinkableInProject() && nd->countMembers()>0)
{
t << "\\par " << Rtf_Style["Reset"] << endl;
t << "{\\field\\fldedit{\\*\\fldinst INCLUDETEXT \"";
@@ -852,7 +852,7 @@ void RTFGenerator::endIndexSection(IndexSections is)
}
while (nd)
{
- if (nd->isLinkableInProject() || nd->countMembers()>0)
+ if (nd->isLinkableInProject() && nd->countMembers()>0)
{
t << "\\par " << Rtf_Style["Reset"] << endl;
beginRTFSection();