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

Fixed issue #31884

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@68721 954022d7-b5bf-4e40-9824-e11837661b57
parent 267947e8
......@@ -1464,7 +1464,11 @@ cStrucTable.prototype.toRef = function () {
return this.area ? this.area : new cError( cErrorType.bad_reference );
};
cStrucTable.prototype.toString = function () {
var tblStr = this.table.Name, columns_1, columns_2;
var tblStr, columns_1, columns_2;
if( !this.table ){
return this.value;
}
tblStr = this.table.Name;
this.columnName ? tblStr += "[%1]" : null;
if ( this.oneColumn ) {
......@@ -1519,7 +1523,11 @@ cStrucTable.prototype.toString = function () {
return tblStr.replace( "%1", "" );
};
cStrucTable.prototype.toLocaleString = function () {
var tblStr = this.table.Name, columns_1, columns_2;
var tblStr, columns_1, columns_2;
if( !this.table ){
return this.value;
}
tblStr = this.table.Name;
this.columnName ? tblStr += "[%1]" : null;
if ( this.oneColumn ) {
......
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