From e95f5e8333ad163d3da6b7f10e65e8c7113e0ff7 Mon Sep 17 00:00:00 2001 From: Sergey Vladimirov Date: Mon, 5 Nov 2012 11:49:03 +0000 Subject: [PATCH] Bug 53914 - TableRow#getTopBorder() return bottom's border git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1405752 13f79535-47bb-0310-9956-ffa450edef68 --- src/documentation/content/xdocs/status.xml | 1 + src/scratchpad/src/org/apache/poi/hwpf/usermodel/TableRow.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/documentation/content/xdocs/status.xml b/src/documentation/content/xdocs/status.xml index 766157603..f1b386fb2 100644 --- a/src/documentation/content/xdocs/status.xml +++ b/src/documentation/content/xdocs/status.xml @@ -34,6 +34,7 @@ + 53914 - TableRow#getTopBorder() return bottom's border 53282 - Avoid exception when parsing OPC relationships with non-breaking spaces 54016 - Avoid exception when parsing workbooks with DConRefRecord in row aggregate 54008 - Fixed Ant build to support build directories with blanks diff --git a/src/scratchpad/src/org/apache/poi/hwpf/usermodel/TableRow.java b/src/scratchpad/src/org/apache/poi/hwpf/usermodel/TableRow.java index 0d861dac8..a12dc63be 100644 --- a/src/scratchpad/src/org/apache/poi/hwpf/usermodel/TableRow.java +++ b/src/scratchpad/src/org/apache/poi/hwpf/usermodel/TableRow.java @@ -110,7 +110,7 @@ public final class TableRow extends Range public BorderCode getTopBorder() { - return _tprops.getBrcBottom(); + return _tprops.getBrcTop(); } public BorderCode getVerticalBorder()