rename param in ColumnHelper

see #993
This commit is contained in:
PJ Fanning 2026-01-13 10:59:09 +01:00 committed by GitHub
parent 8cdcda2873
commit df2d5d62d9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -264,9 +264,10 @@ public class ColumnHelper {
CTCol col = getOrCreateColumn1Based(index+1, false);
col.setBestFit(bestFit);
}
public void setCustomWidth(long index, boolean bestFit) {
public void setCustomWidth(long index, boolean useCustomWidth) {
CTCol col = getOrCreateColumn1Based(index+1, true);
col.setCustomWidth(bestFit);
col.setCustomWidth(useCustomWidth);
}
public void setColWidth(long index, double width) {
@ -330,4 +331,4 @@ public class ColumnHelper {
}
return -1;
}
}
}