Parcourir la 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 il y a 5 ans
Parent
révision
56f71845cb
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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 Voir le fichier

@@ -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() {

Chargement…
Annuler
Enregistrer