Fix bug #52664 - MAPIMessage may not always have name chunks when checking for 7 bit encodings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1244449 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c85888414b
commit
ccddafaf5c
@ -34,6 +34,7 @@
|
|||||||
|
|
||||||
<changes>
|
<changes>
|
||||||
<release version="3.8-beta6" date="2012-??-??">
|
<release version="3.8-beta6" date="2012-??-??">
|
||||||
|
<action dev="poi-developers" type="fix">52664 - MAPIMessage may not always have name chunks when checking for 7 bit encodings</action>
|
||||||
<action dev="poi-developers" type="fix">52649 - fixed namespace issue in WordToFoConverter</action>
|
<action dev="poi-developers" type="fix">52649 - fixed namespace issue in WordToFoConverter</action>
|
||||||
<action dev="poi-developers" type="fix">52385 - avoid trancated array and vector data when reading OLE properties</action>
|
<action dev="poi-developers" type="fix">52385 - avoid trancated array and vector data when reading OLE properties</action>
|
||||||
<action dev="poi-developers" type="fix">52662 - CharacterRun NPE fix when fetching symbol fonts, where no fonts are defined</action>
|
<action dev="poi-developers" type="fix">52662 - CharacterRun NPE fix when fetching symbol fonts, where no fonts are defined</action>
|
||||||
|
@ -451,13 +451,17 @@ public class MAPIMessage extends POIDocument {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
for(Chunk c : nameIdChunks.getAll()) {
|
|
||||||
if(c instanceof StringChunk) {
|
if (nameIdChunks!=null) {
|
||||||
if( ((StringChunk)c).getType() == Types.ASCII_STRING ) {
|
for(Chunk c : nameIdChunks.getAll()) {
|
||||||
return true;
|
if(c instanceof StringChunk) {
|
||||||
|
if( ((StringChunk)c).getType() == Types.ASCII_STRING ) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
for(RecipientChunks rc : recipientChunks) {
|
for(RecipientChunks rc : recipientChunks) {
|
||||||
for(Chunk c : rc.getAll()) {
|
for(Chunk c : rc.getAll()) {
|
||||||
if(c instanceof StringChunk) {
|
if(c instanceof StringChunk) {
|
||||||
|
Loading…
Reference in New Issue
Block a user