diff options
author | Yegor Kozlov <yegor@apache.org> | 2009-08-20 13:49:33 +0000 |
---|---|---|
committer | Yegor Kozlov <yegor@apache.org> | 2009-08-20 13:49:33 +0000 |
commit | 4d835fbda786d067fe4516bb7225bbc32b126b51 (patch) | |
tree | 4e19a7d528a45637341f3239e62ee5d9fa10bb5d /src/scratchpad | |
parent | f0ebb76204bd6b120f76a2d27108f4afe0c44efa (diff) | |
download | poi-4d835fbda786d067fe4516bb7225bbc32b126b51.tar.gz poi-4d835fbda786d067fe4516bb7225bbc32b126b51.zip |
Avoid exception when reading ClipboardData packet in OLE property sets, see bugzilla 45583
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@806172 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/scratchpad')
3 files changed, 0 insertions, 7 deletions
diff --git a/src/scratchpad/src/org/apache/poi/hdgf/HDGFDiagram.java b/src/scratchpad/src/org/apache/poi/hdgf/HDGFDiagram.java index 483762484d..aa15ce1b13 100644 --- a/src/scratchpad/src/org/apache/poi/hdgf/HDGFDiagram.java +++ b/src/scratchpad/src/org/apache/poi/hdgf/HDGFDiagram.java @@ -68,9 +68,6 @@ public final class HDGFDiagram extends POIDocument { _docstream = new byte[docProps.getSize()]; dir.createDocumentInputStream("VisioDocument").read(_docstream); - // Read in the common POI streams - readProperties(); - // Check it's really visio String typeString = new String(_docstream, 0, 20); if(! typeString.equals(VISIO_HEADER)) { diff --git a/src/scratchpad/src/org/apache/poi/hslf/HSLFSlideShow.java b/src/scratchpad/src/org/apache/poi/hslf/HSLFSlideShow.java index 90b2cfd3ed..df4d291f51 100644 --- a/src/scratchpad/src/org/apache/poi/hslf/HSLFSlideShow.java +++ b/src/scratchpad/src/org/apache/poi/hslf/HSLFSlideShow.java @@ -146,9 +146,6 @@ public final class HSLFSlideShow extends POIDocument { // Now, build records based on the PowerPoint stream buildRecords(); - // Look for Property Streams: - readProperties(); - // Look for any other streams readOtherStreams(); diff --git a/src/scratchpad/src/org/apache/poi/hwpf/HWPFDocument.java b/src/scratchpad/src/org/apache/poi/hwpf/HWPFDocument.java index 8b6d2fdae7..db4acdd095 100644 --- a/src/scratchpad/src/org/apache/poi/hwpf/HWPFDocument.java +++ b/src/scratchpad/src/org/apache/poi/hwpf/HWPFDocument.java @@ -170,7 +170,6 @@ public final class HWPFDocument extends POIDocument { // Sort out the hpsf properties super(directory, pfilesystem); - readProperties(); // read in the main stream. DocumentEntry documentProps = (DocumentEntry) |