]> source.dussan.org Git - poi.git/commitdiff
sometimes "-1" happens. It seems to be empty cell border as well
authorSergey Vladimirov <sergey@apache.org>
Tue, 20 Sep 2011 09:03:58 +0000 (09:03 +0000)
committerSergey Vladimirov <sergey@apache.org>
Tue, 20 Sep 2011 09:03:58 +0000 (09:03 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1173039 13f79535-47bb-0310-9956-ffa450edef68

src/scratchpad/src/org/apache/poi/hwpf/usermodel/BorderCode.java

index b16837763a9202a25b8ad585e7c9d0f9d2afbd79..4526c052fa609e8d1f1e92ac875347ebd1870728 100644 (file)
@@ -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)