]> source.dussan.org Git - poi.git/commitdiff
Follow on for bug #51873 - may have another _ on the end
authorNick Burch <nick@apache.org>
Wed, 5 Oct 2011 22:14:24 +0000 (22:14 +0000)
committerNick Burch <nick@apache.org>
Wed, 5 Oct 2011 22:14:24 +0000 (22:14 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1179462 13f79535-47bb-0310-9956-ffa450edef68

src/scratchpad/src/org/apache/poi/hsmf/parsers/POIFSChunkParser.java

index 656078c4c601fdff845f40989cfa606bf6a7b66e..6f542c5ed7a58bc88c3c39e2f0cfa0c21fe2528d 100644 (file)
@@ -126,7 +126,8 @@ public final class POIFSChunkParser {
       
       // Make sure we got what we expected, should be of 
       //  the form __<name>_<id><type>
-      if(namePrefix.equals("Olk10SideProps")) {
+      if(namePrefix.equals("Olk10SideProps") ||
+         namePrefix.equals("Olk10SideProps_")) {
          // This is some odd Outlook 2002 thing, skip
          return;
       } else if(splitAt <= entryName.length()-8) {