diff --git a/src/java/org/apache/poi/hssf/usermodel/HSSFPatriarch.java b/src/java/org/apache/poi/hssf/usermodel/HSSFPatriarch.java index c52d4c8ba..bc210b9cf 100644 --- a/src/java/org/apache/poi/hssf/usermodel/HSSFPatriarch.java +++ b/src/java/org/apache/poi/hssf/usermodel/HSSFPatriarch.java @@ -125,7 +125,7 @@ public final class HSSFPatriarch implements HSSFShapeContainer, Drawing coordinates = new HashSet<>(tailRecords.size()); for(NoteRecord rec : tailRecords.values()){ String noteRef = new CellReference(rec.getRow(), - rec.getColumn()).formatAsString(); // A1-style notation + rec.getColumn(), true, true).formatAsString(); // A1-style notation if(coordinates.contains(noteRef )){ throw new IllegalStateException("found multiple cell comments for cell " + noteRef ); } else {