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

fix: Bug 29782 - [NamedRanges] Попытка обращения к элементу именованного...

fix: Bug 29782 - [NamedRanges] Попытка обращения к элементу именованного диапазона вызывает ошибку в консоли (http://bugzserver/show_bug.cgi?id=29782)

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@63718 954022d7-b5bf-4e40-9824-e11837661b57
parent abb3e293
......@@ -3595,6 +3595,7 @@ parserFormula.prototype = {
return false;*/
if ( this.operand_str == null ) {
this.outStack.push( new cError( cErrorType.wrong_name ) );
this.error.push( c_oAscError.ID.FrmlAnotherParsingError );
return this.isParsed = false;
}
this.outStack.push( new cName( this.operand_str, this.wb ) );
......@@ -3710,7 +3711,7 @@ parserFormula.prototype = {
}
if ( ref instanceof cRef || ref instanceof cRef3D || ref instanceof cArea ) {
aOutRef.push( {wsId:ref.ws.getWsId(), cell:ref._cells} );
aOutRef.push( {wsId:ref.getWsId(), cell:ref._cells} );
}
else if ( ref instanceof cArea3D ) {
var wsR = ref.wsRange();
......
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