diff options
| author | Vincent Richard <[email protected]> | 2008-10-12 13:59:09 +0000 |
|---|---|---|
| committer | Vincent Richard <[email protected]> | 2008-10-12 13:59:09 +0000 |
| commit | 13f69779c298173bd21b83dd6cc538814f2b9155 (patch) | |
| tree | 72c95e72fca7d0c916eea4faf39e7e636bfce8b6 /src/stringContentHandler.cpp | |
| parent | Fixed compilation warnings. (diff) | |
| download | vmime-13f69779c298173bd21b83dd6cc538814f2b9155.tar.gz vmime-13f69779c298173bd21b83dd6cc538814f2b9155.zip | |
New namespace for encoders.
Diffstat (limited to 'src/stringContentHandler.cpp')
| -rw-r--r-- | src/stringContentHandler.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/stringContentHandler.cpp b/src/stringContentHandler.cpp index 6dd2719b..84cada5f 100644 --- a/src/stringContentHandler.cpp +++ b/src/stringContentHandler.cpp @@ -114,8 +114,8 @@ void stringContentHandler::generate(utility::outputStream& os, // buffer, and then re-encode to output stream... if (m_encoding != enc) { - ref <encoder> theDecoder = m_encoding.getEncoder(); - ref <encoder> theEncoder = enc.getEncoder(); + ref <utility::encoder::encoder> theDecoder = m_encoding.getEncoder(); + ref <utility::encoder::encoder> theEncoder = enc.getEncoder(); theEncoder->getProperties()["maxlinelength"] = maxLineLength; @@ -140,7 +140,7 @@ void stringContentHandler::generate(utility::outputStream& os, // Need to encode data before else { - ref <encoder> theEncoder = enc.getEncoder(); + ref <utility::encoder::encoder> theEncoder = enc.getEncoder(); theEncoder->getProperties()["maxlinelength"] = maxLineLength; utility::inputStreamStringProxyAdapter in(m_string); @@ -161,7 +161,7 @@ void stringContentHandler::extract(utility::outputStream& os, // Need to decode data else { - ref <encoder> theDecoder = m_encoding.getEncoder(); + ref <utility::encoder::encoder> theDecoder = m_encoding.getEncoder(); utility::inputStreamStringProxyAdapter in(m_string); utility::progressListenerSizeAdapter plsa(progress, getLength()); |
