poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n...@apache.org
Subject svn commit: r1179462 - /poi/trunk/src/scratchpad/src/org/apache/poi/hsmf/parsers/POIFSChunkParser.java
Date Wed, 05 Oct 2011 22:14:24 GMT
Author: nick
Date: Wed Oct  5 22:14:24 2011
New Revision: 1179462

URL: http://svn.apache.org/viewvc?rev=1179462&view=rev
Log:
Follow on for bug #51873 - may have another _ on the end

Modified:
    poi/trunk/src/scratchpad/src/org/apache/poi/hsmf/parsers/POIFSChunkParser.java

Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hsmf/parsers/POIFSChunkParser.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hsmf/parsers/POIFSChunkParser.java?rev=1179462&r1=1179461&r2=1179462&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hsmf/parsers/POIFSChunkParser.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hsmf/parsers/POIFSChunkParser.java Wed Oct
 5 22:14:24 2011
@@ -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) {



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org


Mime
View raw message