Author: centic
Date: Tue Sep 26 12:31:51 2017
New Revision: 1809737
URL: http://svn.apache.org/viewvc?rev=1809737&view=rev
Log:
Fixup change for CellReference to keep the behavior the same as before
Modified:
poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFPatriarch.java
Modified: poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFPatriarch.java
URL:
http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFPatriarch.java?rev=1809737&r1=1809736&r2=1809737&view=diff
==============================================================================
--- poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFPatriarch.java
(original)
+++ poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFPatriarch.java Tue Sep
26 12:31:51 2017
@@ -125,7 +125,7 @@ public final class HSSFPatriarch impleme
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 {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]