[se] Fix bug 79907

This commit is contained in:
GoshaZotov
2026-02-08 22:47:03 +03:00
committed by Igor Zotov
parent 989075adbb
commit 7169df5a4a

View File

@ -5992,7 +5992,17 @@
if (editor !== AscCommon.c_oEditorId.Spreadsheet) {
continue;
}
const oMockWb = wb ? wb : t.model;
const oMockWb = wb;
if (!wb) {
wb = new AscCommonExcel.Workbook(null, window["Asc"]["editor"], false);
wb.DrawingDocument = Asc.editor.wbModel.DrawingDocument;
}
wb.sharedStrings.all = [];
wb.sharedStrings.text = Object.create(null);
wb.sharedStrings.multiTextMap = Object.create(null);
wb.sharedStrings.bssr = null;
let updatedData = oMockWb.getExternalReferenceSheetsFromZip(stream);
_updateData(updatedData, _arrAfterPromise[i].data, t.model /* working file workbook */);
}