Commit 4afa6c03 authored by Dmitry.Shahtanov's avatar Dmitry.Shahtanov Committed by Alexander.Trofimov

fix:

Bug 30387 - [NamedRanges]Ошибка в консоли при Copy листа с диапазоном область действия которого на одном листе(http://bugzserver/show_bug.cgi?id=30387)
Bug 30389 - [NamedRanges]Ошибка в консоли при перемещении листа с диапазоном область действия которого на одном листе(http://bugzserver/show_bug.cgi?id=30389)

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@64779 954022d7-b5bf-4e40-9824-e11837661b57
parent d7c58e11
......@@ -1455,7 +1455,13 @@ DefNameVertex.prototype = {
constructor:Vertex,
clone:function(){
return new DefNameVertex( this.sheetId, this.cellId, this.Ref, this.Hidden, this.wb, this.isTable );
var dN = new DefNameVertex( this.sheetId, this.cellId, this.Ref, this.Hidden, this.wb, this.isTable );
dN.parsedRef = new parserFormula( dN.Ref, "", this.wb.getWorksheet(0) );
if( dN.Ref ){
dN.parsedRef.parse();
// dN.parsedRef.buildDependencies();
}
return dN;
},
changeScope:function( newScope ){
......@@ -2188,6 +2194,7 @@ Workbook.prototype.replaceWorksheet=function(indexFrom, indexTo){
if(se){
for(var id in se){
var slave = se[id];
if( slave.isDefinedName ) continue;
var cell = slave.returnCell();
if( cell && cell.formulaParsed && cell.formulaParsed.is3D )
{
......
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