aboutsummaryrefslogtreecommitdiffstats
path: root/doc/book/msg.tex
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2005-12-29 23:17:36 +0000
committerVincent Richard <[email protected]>2005-12-29 23:17:36 +0000
commit4a812f13bfd48d38d7a7b1193e9e850e636a6bd4 (patch)
tree874bc5d0ad4e4b03631e0a3edb71973d7aa85179 /doc/book/msg.tex
parentFixed mistake. (diff)
downloadvmime-4a812f13bfd48d38d7a7b1193e9e850e636a6bd4.tar.gz
vmime-4a812f13bfd48d38d7a7b1193e9e850e636a6bd4.zip
Fixed mistake.
Diffstat (limited to '')
-rw-r--r--doc/book/msg.tex4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/book/msg.tex b/doc/book/msg.tex
index da19141b..84d4aa2d 100644
--- a/doc/book/msg.tex
+++ b/doc/book/msg.tex
@@ -47,10 +47,10 @@ vmime::charset ch(vmime::charsets::UTF_8);
std::cout
<< "The subject of the message is: "
- << hdr->Subject()->getValue().getDecodedText(ch)
+ << hdr->Subject()->getValue().dynamicCast <vmime::text>()->getDecodedText(ch)
<< std::endl
<< "It was sent by: "
- << hdr->From()->getValue().getName().getDecodedText(ch)
+ << hdr->From()->getValue().dynamicCast <vmime::mailbox>()->getName().getDecodedText(ch)
<< " (email: " << hdr->From()->getValue().getEmail() << ")"
<< std::endl;
\end{lstlisting}