From af06b4a56d6505a196e07a72aaa6b4b700ad5aa1 Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Sun, 2 Jan 2005 17:17:12 +0000 Subject: Added 'utility::datetimeUtils' + fixed 'stringUtils' not in namespace 'utility'. --- src/contentDisposition.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/contentDisposition.cpp') diff --git a/src/contentDisposition.cpp b/src/contentDisposition.cpp index 3eb8aad8..45282025 100644 --- a/src/contentDisposition.cpp +++ b/src/contentDisposition.cpp @@ -32,7 +32,7 @@ contentDisposition::contentDisposition() contentDisposition::contentDisposition(const string& name) - : m_name(stringUtils::toLower(name)) + : m_name(utility::stringUtils::toLower(name)) { } @@ -46,7 +46,8 @@ contentDisposition::contentDisposition(const contentDisposition& type) void contentDisposition::parse(const string& buffer, const string::size_type position, const string::size_type end, string::size_type* newPosition) { - m_name = stringUtils::toLower(string(buffer.begin() + position, buffer.begin() + end)); + m_name = utility::stringUtils::toLower + (string(buffer.begin() + position, buffer.begin() + end)); setParsedBounds(position, end); @@ -67,14 +68,14 @@ void contentDisposition::generate(utility::outputStream& os, const string::size_ contentDisposition& contentDisposition::operator=(const string& name) { - m_name = stringUtils::toLower(name); + m_name = utility::stringUtils::toLower(name); return (*this); } const bool contentDisposition::operator==(const contentDisposition& value) const { - return (stringUtils::toLower(m_name) == value.m_name); + return (utility::stringUtils::toLower(m_name) == value.m_name); } -- cgit v1.2.3