]> source.dussan.org Git - poi.git/commitdiff
BinaryTagData seems to contain records, but it isn't tagged as doing so. Try stepping...
authorNick Burch <nick@apache.org>
Tue, 24 Jan 2006 11:10:49 +0000 (11:10 +0000)
committerNick Burch <nick@apache.org>
Tue, 24 Jan 2006 11:10:49 +0000 (11:10 +0000)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@371892 13f79535-47bb-0310-9956-ffa450edef68

src/scratchpad/src/org/apache/poi/hslf/dev/SlideShowDumper.java

index 931bce67d2beeeccc05a2ea1d7fdf776f35a9a3e..06dd67df9aca2a1e05bd5542998fa47d3f9336b3 100644 (file)
@@ -238,6 +238,12 @@ public void walkTree(int depth, int startPos, int maxLen) {
                        // Now check if it's a container or not
                        int container = (int)opt & 0x0f;
 
+                       // BinaryTagData seems to contain records, but it
+                       //  isn't tagged as doing so. Try stepping in anyway
+                       if(type == 5003L && opt == 0L) {
+                               container = 0x0f;
+                       }
+
                        if(type == 0L || (container != 0x0f)) {
                                System.out.println();
                        } else if (type == 1035l || type == 1036l) {