[Bug 66371] BaseXSSFEvaluationWorkbook.getName(String,sheetIndex) should return the name from the sheet scope first

2022-12-02 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=66371 --- Comment #2 from Arseniy --- I can not because the problem found in a code which creates names in a new document (not saved on disk). The code creates global name for some a cells in a row and then the same name for the similar set of cells

[Bug 66371] BaseXSSFEvaluationWorkbook.getName(String,sheetIndex) should return the name from the sheet scope first

2022-12-02 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=66371 --- Comment #3 from Arseniy --- The existing code should be changed anyway. Now it makes unnecessary call of getName(name, -1) at the end. There is no need in this call because nameSheetindex == -1 already considered few lines above. -- You