diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2000-04-30 17:13:40 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2000-04-30 17:13:40 (GMT) |
commit | 3b8b750f05f52572bc72e6e3538345a51d51844a (patch) | |
tree | e8fc87186141ebce1c8547a44d7adcd0ec122e14 /src/definition.h | |
parent | a790b4aefe37b616ec4563877e01aa5f99447c85 (diff) | |
download | Doxygen-3b8b750f05f52572bc72e6e3538345a51d51844a.zip Doxygen-3b8b750f05f52572bc72e6e3538345a51d51844a.tar.gz Doxygen-3b8b750f05f52572bc72e6e3538345a51d51844a.tar.bz2 |
Release-1.1.2-20000430
Diffstat (limited to 'src/definition.h')
-rw-r--r-- | src/definition.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/definition.h b/src/definition.h index 42213fd..e5f125d 100644 --- a/src/definition.h +++ b/src/definition.h @@ -48,9 +48,12 @@ class Definition /*! sets a new \a name for the definition */ void setName(const char *name) { n=name; } /*! sets the documentation of this definition to \a d. */ - void setDocumentation(const char *d) + void setDocumentation(const char *d,bool stripWhiteSpace=TRUE) { - doc=((QCString)d).stripWhiteSpace(); + if (stripWhiteSpace) + doc=((QCString)d).stripWhiteSpace(); + else + doc=d; } /*! sets the brief description of this definition to \a b. * A dot is added to the sentence if not available. |