From 99e8d7d7a09e35b71019e974d8ca7afc5b993229 Mon Sep 17 00:00:00 2001 From: Sergey Vladimirov Date: Tue, 20 Sep 2011 09:03:58 +0000 Subject: [PATCH] sometimes "-1" happens. It seems to be empty cell border as well git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1173039 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/org/apache/poi/hwpf/usermodel/BorderCode.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scratchpad/src/org/apache/poi/hwpf/usermodel/BorderCode.java b/src/scratchpad/src/org/apache/poi/hwpf/usermodel/BorderCode.java index b16837763..4526c052f 100644 --- a/src/scratchpad/src/org/apache/poi/hwpf/usermodel/BorderCode.java +++ b/src/scratchpad/src/org/apache/poi/hwpf/usermodel/BorderCode.java @@ -65,7 +65,7 @@ public final class BorderCode implements Cloneable { public boolean isEmpty() { - return _info == 0 && _info2 == 0; + return _info == 0 && _info2 == 0 || _info == -1; } public boolean equals(Object o)