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 793938ecef
commit 887ec868b7

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) {