View | Details | Raw Unified | Return to bug 54373
Collapse All | Expand All

(-)a/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFColor.java (-2 / +1 lines)
Lines 44-50 public class XSSFColor implements Color { Link Here
44
44
45
    public XSSFColor(java.awt.Color clr) {
45
    public XSSFColor(java.awt.Color clr) {
46
        this();
46
        this();
47
        ctColor.setRgb(new byte[]{(byte)clr.getRed(), (byte)clr.getGreen(), (byte)clr.getBlue()});
47
        ctColor.setRgb(new byte[]{(byte)clr.getRed(), (byte)clr.getGreen(), (byte)clr.getBlue(), (byte) clr.getAlpha()});
48
    }
48
    }
49
49
50
    public XSSFColor(byte[] rgb) {
50
    public XSSFColor(byte[] rgb) {
51
- 

Return to bug 54373