mirror of https://github.com/apache/poi.git
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:
parent
acb78e74c4
commit
9d064f746e
|
@ -159,7 +159,7 @@ public class XSSFBorderFormatting implements BorderFormatting {
|
||||||
}
|
}
|
||||||
@Override
|
@Override
|
||||||
public short getTopBorderColor() {
|
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
|
* @return BorderStyle from the given element's style, or NONE if border is null
|
||||||
*/
|
*/
|
||||||
private BorderStyle getBorderStyle(CTBorderPr borderPr) {
|
private BorderStyle getBorderStyle(CTBorderPr borderPr) {
|
||||||
|
|
Loading…
Reference in New Issue