diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2011-06-29 20:14:58 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2011-06-29 20:14:58 (GMT) |
commit | b655037884e82e257794004d4e88d3a9ed29d5c3 (patch) | |
tree | e669e210441ef87fa9a366b99d90a0c8d8ae944b /src/rtfgen.h | |
parent | de297f6d77f3861b649f3fcba443483d6be6afe9 (diff) | |
download | Doxygen-b655037884e82e257794004d4e88d3a9ed29d5c3.zip Doxygen-b655037884e82e257794004d4e88d3a9ed29d5c3.tar.gz Doxygen-b655037884e82e257794004d4e88d3a9ed29d5c3.tar.bz2 |
Release-1.7.4-20110629
Diffstat (limited to 'src/rtfgen.h')
-rw-r--r-- | src/rtfgen.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/rtfgen.h b/src/rtfgen.h index 20931fa..d85f921 100644 --- a/src/rtfgen.h +++ b/src/rtfgen.h @@ -34,9 +34,9 @@ class RTFGenerator : public OutputGenerator void enable() { if (genStack->top()) active=*genStack->top(); else active=TRUE; } void disable() { active=FALSE; } - void enableIf(OutputType o) { if (o==RTF) active=TRUE; } - void disableIf(OutputType o) { if (o==RTF) active=FALSE; } - void disableIfNot(OutputType o) { if (o!=RTF) active=FALSE; } + void enableIf(OutputType o) { if (o==RTF) enable(); } + void disableIf(OutputType o) { if (o==RTF) disable(); } + void disableIfNot(OutputType o) { if (o!=RTF) disable(); } bool isEnabled(OutputType o) { return (o==RTF && active); } OutputGenerator *get(OutputType o) { return (o==RTF) ? this : 0; } @@ -219,7 +219,7 @@ class RTFGenerator : public OutputGenerator void startMemberDocName(bool) {} void endMemberDocName() {} void startParameterType(bool,const char *); - void endParameterType() {} + void endParameterType(); void startParameterName(bool) {} void endParameterName(bool,bool,bool) {} void startParameterList(bool) {} |