From b8b0ff6a27a8ff1e3cd1672757acde2f1dfd6b95 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 b16837763a..4526c052fa 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) -- 2.39.5