aboutsummaryrefslogtreecommitdiffstats
path: root/src/stringContentHandler.cpp
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2008-10-12 13:59:09 +0000
committerVincent Richard <[email protected]>2008-10-12 13:59:09 +0000
commit13f69779c298173bd21b83dd6cc538814f2b9155 (patch)
tree72c95e72fca7d0c916eea4faf39e7e636bfce8b6 /src/stringContentHandler.cpp
parentFixed compilation warnings. (diff)
downloadvmime-13f69779c298173bd21b83dd6cc538814f2b9155.tar.gz
vmime-13f69779c298173bd21b83dd6cc538814f2b9155.zip
New namespace for encoders.
Diffstat (limited to 'src/stringContentHandler.cpp')
-rw-r--r--src/stringContentHandler.cpp8
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());