Fix aparent copy/paste error in XSSFBorderFormatting

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1811867 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Dominik Stadler 2017-10-11 18:32:13 +00:00
parent acb78e74c4
commit 9d064f746e
1 changed files with 1 additions and 2 deletions

View File

@ -159,7 +159,7 @@ public class XSSFBorderFormatting implements BorderFormatting {
}
@Override
public short getTopBorderColor() {
return getIndexedColor(getRightBorderColorColor());
return getIndexedColor(getTopBorderColorColor());
}
/**
@ -416,7 +416,6 @@ public class XSSFBorderFormatting implements BorderFormatting {
}
/**
* @param borderPr
* @return BorderStyle from the given element's style, or NONE if border is null
*/
private BorderStyle getBorderStyle(CTBorderPr borderPr) {