Author: fanningpj
Date: Wed Mar 8 11:04:59 2023
New Revision: 1908192
URL: http://svn.apache.org/viewvc?rev=1908192&view=rev
Log:
[bug-66518] fix issue in AbstractExcelUtils.getColor(HSSFColor)
Modified:
poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hssf/converter/AbstractExcelUtils.java
Modified:
poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hssf/converter/AbstractExcelUtils.java
URL:
http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hssf/converter/AbstractExcelUtils.java?rev=1908192&r1=1908191&r2=1908192&view=diff
==============================================================================
---
poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hssf/converter/AbstractExcelUtils.java
(original)
+++
poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hssf/converter/AbstractExcelUtils.java
Wed Mar 8 11:04:59 2023
@@ -119,7 +119,7 @@ class AbstractExcelUtils {
}
stringBuilder.append(hex);
}
- String result = color.getHexString();
+ String result = stringBuilder.toString();
if (result.equals("#ffffff")) {
return "white";
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]