From 7c0efb2b63dc90fe74c9917a111ff726c108a7f2 Mon Sep 17 00:00:00 2001
From: GoshaZotov <Igor.Zotov@onlyoffice.com>
Date: Tue, 31 Oct 2017 13:51:42 +0300
Subject: [PATCH] new cSpecialOperandStart -> cSpecialOperandStart.prototype

---
 cell/model/FormulaObjects/parserFormula.js | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/cell/model/FormulaObjects/parserFormula.js b/cell/model/FormulaObjects/parserFormula.js
index 53ef4b2a9..495060b6f 100644
--- a/cell/model/FormulaObjects/parserFormula.js
+++ b/cell/model/FormulaObjects/parserFormula.js
@@ -4813,7 +4813,7 @@ parserFormula.prototype.setFormula = function(formula) {
 			if(startSumproduct){
 				counterSumproduct++;
 				if(1 === counterSumproduct){
-					t.outStack.push(new cSpecialOperandStart());
+					t.outStack.push(cSpecialOperandStart.prototype);
 				}
 			}
 		};
@@ -4902,7 +4902,7 @@ parserFormula.prototype.setFormula = function(formula) {
 				counterSumproduct--;
 				if(counterSumproduct < 1){
 					startSumproduct = false;
-					t.outStack.push(new cSpecialOperandEnd());
+					t.outStack.push(cSpecialOperandEnd.prototype);
 				}
 			}
 
@@ -5196,6 +5196,7 @@ parserFormula.prototype.setFormula = function(formula) {
 				t.error.push(c_oAscError.ID.FrmlAnotherParsingError);
 				return t.isParsed = false;
 			}
+
 			if (wasRigthParentheses) {
 				t.elemArr.push(new cMultOperator());
 			}
-- 
2.30.9