summaryrefslogtreecommitdiffstats
path: root/src/rtfgen.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2000-10-01 17:23:42 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2000-10-01 17:23:42 (GMT)
commit499475795ed160e3a1e9cb571adc1ad86dc6a8ba (patch)
treeff3e5497c510b749f3d2e73414320758618faa42 /src/rtfgen.cpp
parent168b741da042373d667e226cace55c9e82ec8faa (diff)
downloadDoxygen-499475795ed160e3a1e9cb571adc1ad86dc6a8ba.zip
Doxygen-499475795ed160e3a1e9cb571adc1ad86dc6a8ba.tar.gz
Doxygen-499475795ed160e3a1e9cb571adc1ad86dc6a8ba.tar.bz2
Release-1.2.2-20001001
Diffstat (limited to 'src/rtfgen.cpp')
-rw-r--r--src/rtfgen.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/rtfgen.cpp b/src/rtfgen.cpp
index cff0ce4..1cee062 100644
--- a/src/rtfgen.cpp
+++ b/src/rtfgen.cpp
@@ -488,14 +488,14 @@ bool StyleData::setStyle(const char* s, const char* styleName)
if (start < 0)
{
err("Style sheet '%s' contains no '\\s' clause.\n{%s}\n", styleName, s);
- return false;
+ return FALSE;
}
s += start;
index = (int)atol(s + 2); ASSERT(index > 0);
// search for the end of pure formatting codes
const char* end = s + len;
- bool haveNewDefinition = true;
+ bool haveNewDefinition = TRUE;
for(;;)
{
if (*end == '{')
@@ -518,7 +518,7 @@ bool StyleData::setStyle(const char* s, const char* styleName)
}
else if (*end == 0)
{ // no style-definition part, keep default value
- haveNewDefinition = false;
+ haveNewDefinition = FALSE;
break;
}
else // plain name without leading \\snext
@@ -534,7 +534,7 @@ bool StyleData::setStyle(const char* s, const char* styleName)
definition = new char[size];
memcpy(definition, end, size);
}
- return true;
+ return TRUE;
}
static void loadStylesheet(const char *name, QDict<StyleData>& dict)
@@ -591,7 +591,7 @@ void RTFGenerator::init()
err("Could not create output directory %s\n",dir.data());
exit(1);
}
- Rtf_Style.setAutoDelete(true);
+ Rtf_Style.setAutoDelete(TRUE);
// first duplicate strings of Rtf_Style_Default
const struct Rtf_Style_Default* def = Rtf_Style_Default;