Browse Source

#github-143 - MAPIType.isFixedLength: not true in case of length > 8

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1857708 13f79535-47bb-0310-9956-ffa450edef68
pull/145/head
Andreas Beeker 5 years ago
parent
commit
56f71845cb
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/scratchpad/src/org/apache/poi/hsmf/datatypes/Types.java

+ 1
- 1
src/scratchpad/src/org/apache/poi/hsmf/datatypes/Types.java View File

@@ -119,7 +119,7 @@ public final class Types {
* Is this type a fixed-length type, or a variable-length one?
*/
public boolean isFixedLength() {
return (length != -1);
return (length != -1) && (length <= 8);
}

public int getId() {

Loading…
Cancel
Save