]> source.dussan.org Git - poi.git/commitdiff
Fixup change for CellReference to keep the behavior the same as before
authorDominik Stadler <centic@apache.org>
Tue, 26 Sep 2017 12:31:51 +0000 (12:31 +0000)
committerDominik Stadler <centic@apache.org>
Tue, 26 Sep 2017 12:31:51 +0000 (12:31 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1809737 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/poi/hssf/usermodel/HSSFPatriarch.java

index c52d4c8baf4ea711193bbbe62ae0cae4b38a4a2a..bc210b9cfe743f705ee72ba97e270d89467af6a4 100644 (file)
@@ -125,7 +125,7 @@ public final class HSSFPatriarch implements HSSFShapeContainer, Drawing<HSSFShap
         Set<String> 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 {