Commit 3f556c1d authored by Sergey.Konovalov's avatar Sergey.Konovalov Committed by Alexander.Trofimov

не тот обьект записывался в cRef.range.

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@60488 954022d7-b5bf-4e40-9824-e11837661b57
parent c7d2e98a
......@@ -3601,7 +3601,7 @@ parserFormula.prototype = {
if (elem instanceof cRef || elem instanceof cArea) {
if (node.sheetId == elem.ws.getId() && sFromName == elem._cells) {
elem.value = elem._cells = node.cellId;
elem.range = node.getBBox().clone();
elem.range = elem.ws.getRange3(to.r1, to.c1, to.r2, to.c2);
}
}
else if (elem instanceof cRef3D) {
......@@ -3625,7 +3625,7 @@ parserFormula.prototype = {
if (elem instanceof cArea) {
if (node.sheetId == elem.ws.getId() && sFromName == elem._cells) {
elem.value = elem._cells = node.cellId;
elem.range = node.getBBox().clone();
elem.range = elem.ws.getRange3(to.r1, to.c1, to.r2, to.c2);
}
}
else if (elem instanceof cArea3D) {
......
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