diff options
author | Vincent Richard <[email protected]> | 2005-01-02 17:17:12 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2005-01-02 17:17:12 +0000 |
commit | af06b4a56d6505a196e07a72aaa6b4b700ad5aa1 (patch) | |
tree | bb5c904096a5f9bffdf9526eac756420fe24f6f2 /src/contentDisposition.cpp | |
parent | Added unit tests for 'bodyPart'. (diff) | |
download | vmime-af06b4a56d6505a196e07a72aaa6b4b700ad5aa1.tar.gz vmime-af06b4a56d6505a196e07a72aaa6b4b700ad5aa1.zip |
Added 'utility::datetimeUtils' + fixed 'stringUtils' not in namespace 'utility'.
Diffstat (limited to 'src/contentDisposition.cpp')
-rw-r--r-- | src/contentDisposition.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
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); } |