mirror of https://github.com/apache/poi.git
MAPIMessage: fix NPE in set7BitEncoding
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1171628 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
202be296f6
commit
555144babe
|
@ -413,11 +413,15 @@ public class MAPIMessage extends POIDocument {
|
|||
((StringChunk)c).set7BitEncoding(charset);
|
||||
}
|
||||
}
|
||||
|
||||
if (nameIdChunks!=null) {
|
||||
for(Chunk c : nameIdChunks.getAll()) {
|
||||
if(c instanceof StringChunk) {
|
||||
((StringChunk)c).set7BitEncoding(charset);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
for(RecipientChunks rc : recipientChunks) {
|
||||
for(Chunk c : rc.getAll()) {
|
||||
if(c instanceof StringChunk) {
|
||||
|
|
Loading…
Reference in New Issue