Commit 663c65fa authored by konovalovsergey's avatar konovalovsergey

fix bug 32438, 32466

parent 97cfb78b
...@@ -877,6 +877,9 @@ DependencyGraph.prototype = { ...@@ -877,6 +877,9 @@ DependencyGraph.prototype = {
return oResMapCycle; return oResMapCycle;
}, },
_getNodeDependenceNodeToRange:function ( sheetId, bbox, oSheetRanges ) { _getNodeDependenceNodeToRange:function ( sheetId, bbox, oSheetRanges ) {
if (!bbox) {
return;
}
var oSheetRange = oSheetRanges[sheetId]; var oSheetRange = oSheetRanges[sheetId];
if ( null == oSheetRange ) { if ( null == oSheetRange ) {
oSheetRange = {range:null, changed:false, prevRange:null}; oSheetRange = {range:null, changed:false, prevRange:null};
...@@ -2641,9 +2644,11 @@ Workbook.prototype.editDefinesNames = function ( oldName, newName, bUndo ) { ...@@ -2641,9 +2644,11 @@ Workbook.prototype.editDefinesNames = function ( oldName, newName, bUndo ) {
for ( var id in nSE ) { for ( var id in nSE ) {
se = nSE[id]; se = nSE[id];
se.deleteMasterEdge( retRes ); se.deleteMasterEdge( retRes );
if (!se.isDefinedName) {
this.needRecalc.nodes[se.nodeId] = [se.sheetId, se.cellId ]; this.needRecalc.nodes[se.nodeId] = [se.sheetId, se.cellId ];
this.needRecalc.length++; this.needRecalc.length++;
addToArrRecalc(se.sheetId, se.cell); addToArrRecalc(se.sheetId, se.cell);
}
se = se.returnCell(); se = se.returnCell();
if ( se ) { if ( se ) {
se.setFormula( se.formulaParsed.assemble() ); se.setFormula( se.formulaParsed.assemble() );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment