diff options
author | PJ Fanning <fanningpj@apache.org> | 2023-03-08 11:04:59 +0000 |
---|---|---|
committer | PJ Fanning <fanningpj@apache.org> | 2023-03-08 11:04:59 +0000 |
commit | dcc66fde79d3b195aad7670bef6a2563ce44c875 (patch) | |
tree | 8005b5fea660b89d8a9ed239ef86a9720066ac73 /poi-scratchpad | |
parent | 9a181c1a2dc9a59da4ad9ad657cdea96f470420c (diff) | |
download | poi-dcc66fde79d3b195aad7670bef6a2563ce44c875.tar.gz poi-dcc66fde79d3b195aad7670bef6a2563ce44c875.zip |
[bug-66518] fix issue in AbstractExcelUtils.getColor(HSSFColor)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1908192 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poi-scratchpad')
-rw-r--r-- | poi-scratchpad/src/main/java/org/apache/poi/hssf/converter/AbstractExcelUtils.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/poi-scratchpad/src/main/java/org/apache/poi/hssf/converter/AbstractExcelUtils.java b/poi-scratchpad/src/main/java/org/apache/poi/hssf/converter/AbstractExcelUtils.java index 9d85fea971..6ae0da8e01 100644 --- a/poi-scratchpad/src/main/java/org/apache/poi/hssf/converter/AbstractExcelUtils.java +++ b/poi-scratchpad/src/main/java/org/apache/poi/hssf/converter/AbstractExcelUtils.java @@ -119,7 +119,7 @@ class AbstractExcelUtils { } stringBuilder.append(hex); } - String result = color.getHexString(); + String result = stringBuilder.toString(); if (result.equals("#ffffff")) { return "white"; |