[se] Fix solver export

This commit is contained in:
GoshaZotov
2025-12-22 11:46:31 +03:00
committed by Igor Zotov
parent 774079d889
commit 72a74bac7a
2 changed files with 2 additions and 2 deletions

View File

@ -6299,7 +6299,7 @@
solverParams.getDefNames(wbModel);
if (!solverParams.hasSolverDefNames(wbModel)) {
const wsView = this.getWorksheet();
const activeCell = wsView.getActiveCell(0, 0, false).getName(Asc.referenceType.A);
const activeCell = wsView.getActiveCell(0, 0, false).getName(AscCommonExcel.referenceType.A);
solverParams.asc_setObjectiveFunction(activeCell);
}
wbModel.setSolverParams(solverParams);

View File

@ -346,7 +346,7 @@ $(function () {
AscCommon.History.Undo();
};
const getActiveCell = function(wsView) {
return wsView.getActiveCell(0, 0, false).getName(Asc.referenceType.A);
return wsView.getActiveCell(0, 0, false).getName(AscCommonExcel.referenceType.A);
}
QUnit.module('Goal seek');