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

fix: Bug 20365 - Ошибка в консоли '$c' при открытии файла

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@49703 954022d7-b5bf-4e40-9824-e11837661b57
parent ee79b3f8
...@@ -363,7 +363,11 @@ cFormulaFunction.LookupAndReference = { ...@@ -363,7 +363,11 @@ cFormulaFunction.LookupAndReference = {
var c = new CellAddress( bb.r1 + numberRow, resC, 0 ); var c = new CellAddress( bb.r1 + numberRow, resC, 0 );
var v = arg1.getWS()._getCellNoEmpty( c.getRow0(), c.getCol0() ).getValueWithoutFormat(); var v = arg1.getWS()._getCellNoEmpty( c.getRow0(), c.getCol0() )
if( v )
v = v.getValueWithoutFormat();
else
v = "";
return this.value = checkTypeCell( v ); return this.value = checkTypeCell( v );
} }
...@@ -818,7 +822,11 @@ cFormulaFunction.LookupAndReference = { ...@@ -818,7 +822,11 @@ cFormulaFunction.LookupAndReference = {
var c = new CellAddress( resR, bb.c1 + numberCol, 0 ); var c = new CellAddress( resR, bb.c1 + numberCol, 0 );
var v = arg1.getWS()._getCellNoEmpty( c.getRow0(), c.getCol0() ).getValueWithoutFormat(); var v = arg1.getWS()._getCellNoEmpty( c.getRow0(), c.getCol0() )
if( v )
v = v.getValueWithoutFormat();
else
v = "";
return this.value = checkTypeCell( v ); return this.value = checkTypeCell( v );
} }
......
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