Commit 047975c1 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@68806 954022d7-b5bf-4e40-9824-e11837661b57
parent d1810c15
......@@ -1098,10 +1098,10 @@ parserHelper.prototype.isArea = function ( formula, start_pos ) {
var subSTR = formula.substring( start_pos );
var match = subSTR.match( rgRange ) || subSTR.match( rgCols ) || subSTR.match( rgRows );
if (match != null) {
var m0 = match[0].split(":");
var m0 = match[1].split(":");
if( g_oCellAddressUtils.getCellAddress(m0[0]).isValid() && g_oCellAddressUtils.getCellAddress(m0[1]).isValid() ){
this.pCurrPos += match[0].length;
this.operand_str = match[0];
this.pCurrPos += match[1].length;
this.operand_str = match[1];
return true;
}
}
......
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