[se] Fix bug 76100 (#1581)

Reviewed-on: https://git.onlyoffice.com/ONLYOFFICE/sdkjs/pulls/1581
This commit is contained in:
Igor Zotov
2025-10-24 08:03:12 +00:00
parent 15dc659f01
commit 15af0eff25

View File

@ -889,10 +889,10 @@
var maxRow = 0;
var maxCol = 0;
range3._foreachNoEmpty(function (cell) {
if (cell.nCol > maxCol) {
if (cell.nCol > maxCol && !cell.ws.getColHidden(cell.nCol)) {
maxCol = cell.nCol;
}
if (cell.nRow > maxRow) {
if (cell.nRow > maxRow && !cell.ws.getRowHidden(cell.nRow)) {
maxRow = cell.nRow;
}
});