diff options
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. |