From commits-return-12269-archive-asf-public=cust-asf.ponee.io@poi.apache.org Wed Apr 17 20:18:38 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 625F8180672 for ; Wed, 17 Apr 2019 22:18:38 +0200 (CEST) Received: (qmail 19919 invoked by uid 500); 17 Apr 2019 20:18:34 -0000 Mailing-List: contact commits-help@poi.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@poi.apache.org Delivered-To: mailing list commits@poi.apache.org Received: (qmail 19910 invoked by uid 99); 17 Apr 2019 20:18:34 -0000 Received: from Unknown (HELO svn01-us-west.apache.org) (209.188.14.144) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Apr 2019 20:18:34 +0000 Received: from svn01-us-west.apache.org (localhost [127.0.0.1]) by svn01-us-west.apache.org (ASF Mail Server at svn01-us-west.apache.org) with ESMTP id 653FE3A0C8B for ; Wed, 17 Apr 2019 20:18:30 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1857708 - in /poi: site/src/documentation/content/xdocs/changes.xml trunk/src/scratchpad/src/org/apache/poi/hsmf/datatypes/Types.java Date: Wed, 17 Apr 2019 20:18:29 -0000 To: commits@poi.apache.org From: kiwiwings@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20190417201830.653FE3A0C8B@svn01-us-west.apache.org> Author: kiwiwings Date: Wed Apr 17 20:18:29 2019 New Revision: 1857708 URL: http://svn.apache.org/viewvc?rev=1857708&view=rev Log: #github-143 - MAPIType.isFixedLength: not true in case of length > 8 Modified: poi/site/src/documentation/content/xdocs/changes.xml poi/trunk/src/scratchpad/src/org/apache/poi/hsmf/datatypes/Types.java Modified: poi/site/src/documentation/content/xdocs/changes.xml URL: http://svn.apache.org/viewvc/poi/site/src/documentation/content/xdocs/changes.xml?rev=1857708&r1=1857707&r2=1857708&view=diff ============================================================================== --- poi/site/src/documentation/content/xdocs/changes.xml (original) +++ poi/site/src/documentation/content/xdocs/changes.xml Wed Apr 17 20:18:29 2019 @@ -89,6 +89,7 @@ Error opening XLSX after saving with a Drawing using POI + MAPIType.isFixedLength: not true in case of length > 8 Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hsmf/datatypes/Types.java URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hsmf/datatypes/Types.java?rev=1857708&r1=1857707&r2=1857708&view=diff ============================================================================== --- poi/trunk/src/scratchpad/src/org/apache/poi/hsmf/datatypes/Types.java (original) +++ poi/trunk/src/scratchpad/src/org/apache/poi/hsmf/datatypes/Types.java Wed Apr 17 20:18:29 2019 @@ -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() { --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org For additional commands, e-mail: commits-help@poi.apache.org