aboutsummaryrefslogtreecommitdiffstats
path: root/src/contentTypeField.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/contentTypeField.cpp')
-rw-r--r--src/contentTypeField.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/contentTypeField.cpp b/src/contentTypeField.cpp
index 61b4e5e4..28e31901 100644
--- a/src/contentTypeField.cpp
+++ b/src/contentTypeField.cpp
@@ -40,13 +40,13 @@ contentTypeField::contentTypeField(contentTypeField&)
const string contentTypeField::getBoundary() const
{
- return (dynamic_cast <const defaultParameter&>(*findParameter("boundary")).getValue());
+ return (dynamic_cast <const defaultParameter&>(*findParameter("boundary")).getValue().getBuffer());
}
void contentTypeField::setBoundary(const string& boundary)
{
- dynamic_cast <defaultParameter&>(*getParameter("boundary")).setValue(boundary);
+ dynamic_cast <defaultParameter&>(*getParameter("boundary")).setValue(word(boundary));
}
@@ -64,13 +64,13 @@ void contentTypeField::setCharset(const charset& ch)
const string contentTypeField::getReportType() const
{
- return (dynamic_cast <const defaultParameter&>(*findParameter("report-type")).getValue());
+ return (dynamic_cast <const defaultParameter&>(*findParameter("report-type")).getValue().getBuffer());
}
void contentTypeField::setReportType(const string& reportType)
{
- dynamic_cast <defaultParameter&>(*getParameter("report-type")).setValue(reportType);
+ dynamic_cast <defaultParameter&>(*getParameter("report-type")).setValue(word(reportType));
}