Commit 04443ad3 authored by Dmitry.Shahtanov's avatar Dmitry.Shahtanov Committed by Alexander.Trofimov

падали на открытии таблиц с фильтрами

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@63344 954022d7-b5bf-4e40-9824-e11837661b57
parent 7b924c15
......@@ -887,6 +887,7 @@ DependencyGraph.prototype = {
else if( null == oRes.Ref && null != defRef ){
oRes.Ref = defRef;
oRes.isTable = undefined;
oRes.parsedRef = new parserFormula(oRes.Ref, "", oRes.wb.getWorksheet(0));
oRes.parsedRef.parse();
// oRes.sheetId = sheetId;
......@@ -1314,9 +1315,11 @@ function DefNameVertex( scope, defName, defRef, wb, isTable ) {
this.nodeId = getDefNameVertexId( this.sheetId, defName );
this.wb = wb;
this.parsedRef = new parserFormula(this.Ref, "", this.wb.getWorksheet(0))
if( this.Ref ){
this.parsedRef.parse();
if(!isTable){
this.parsedRef = new parserFormula(this.Ref, "", this.wb.getWorksheet(0))
if( this.Ref ){
this.parsedRef.parse();
}
}
//вершина которую мы прошли и поставили в очередь обхода
......
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