diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2000-04-30 17:13:40 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2000-04-30 17:13:40 (GMT) |
commit | 26b5069ce70ddad043040a06b984beef02b89994 (patch) | |
tree | e8fc87186141ebce1c8547a44d7adcd0ec122e14 /src/definition.h | |
parent | e2b4a623decf7c8b4435f742f05d07323ad8d6f2 (diff) | |
download | Doxygen-26b5069ce70ddad043040a06b984beef02b89994.zip Doxygen-26b5069ce70ddad043040a06b984beef02b89994.tar.gz Doxygen-26b5069ce70ddad043040a06b984beef02b89994.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. |