aboutsummaryrefslogtreecommitdiffstats
path: root/vmime
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--vmime/header.hpp2
-rw-r--r--vmime/parameter.hpp2
-rw-r--r--vmime/parameterizedHeaderField.hpp2
-rw-r--r--vmime/text.hpp6
4 files changed, 4 insertions, 8 deletions
diff --git a/vmime/header.hpp b/vmime/header.hpp
index bb806fc7..9f10ed41 100644
--- a/vmime/header.hpp
+++ b/vmime/header.hpp
@@ -195,7 +195,7 @@ public:
* @param pos position
* @return field at position 'pos'
*/
- ref <headerField> getFieldAt(const int pos);
+ const ref <headerField> getFieldAt(const int pos);
/** Return the field at the specified position.
*
diff --git a/vmime/parameter.hpp b/vmime/parameter.hpp
index 8ac7e82c..964d666c 100644
--- a/vmime/parameter.hpp
+++ b/vmime/parameter.hpp
@@ -85,7 +85,7 @@ public:
* For example, the following code:
*
* <pre>
- * getParameter("creation-date")->getValueAs <vmime::dateTime>()</pre>
+ * getParameter("creation-date")->getValueAs <vmime::dateTime>()
* </pre>
*
* is equivalent to:
diff --git a/vmime/parameterizedHeaderField.hpp b/vmime/parameterizedHeaderField.hpp
index bc1dc5be..76e500fc 100644
--- a/vmime/parameterizedHeaderField.hpp
+++ b/vmime/parameterizedHeaderField.hpp
@@ -158,7 +158,7 @@ public:
* @param pos position
* @return parameter at position 'pos'
*/
- const ref <parameter> getParameterAt(const int pos) const;
+ const ref <const parameter> getParameterAt(const int pos) const;
/** Return the parameter list.
*
diff --git a/vmime/text.hpp b/vmime/text.hpp
index 8da6d9e0..b3817754 100644
--- a/vmime/text.hpp
+++ b/vmime/text.hpp
@@ -214,11 +214,7 @@ public:
/** Decode and unfold text (RFC-2047).
*
* @param in input string
- * @param generateInExisting if not NULL, the resulting text will be generated
- * in the specified object instead of a new created object (in this case, the
- * function returns the same pointer). Can be used to avoid copying the
- * resulting object into an existing object.
- * @return new text object or existing object if generateInExisting != NULL
+ * @return new text object
*/
static ref <text> decodeAndUnfold(const string& in);