Commit 4cea94f1 authored by Sergey.Konovalov's avatar Sergey.Konovalov Committed by Alexander.Trofimov

Asc.Range.getName приводились в A:A имена вида A1:A$1048576

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@56117 954022d7-b5bf-4e40-9824-e11837661b57
parent 2ec44ece
......@@ -308,7 +308,7 @@
getName : function() {
var sRes = "";
if (0 == this.c1 && gc_nMaxCol0 == this.c2) {
if (0 == this.c1 && gc_nMaxCol0 == this.c2 && false == this.c1Abs && false == this.c2Abs) {
if (this.r1Abs)
sRes += "$";
sRes += (this.r1 + 1) + ":";
......@@ -316,7 +316,7 @@
sRes += "$";
sRes += (this.r2 + 1);
}
else if (0 == this.r1 && gc_nMaxRow0 == this.r2) {
else if (0 == this.r1 && gc_nMaxRow0 == this.r2 && false == this.r1Abs && false == this.r2Abs) {
if (this.c1Abs)
sRes += "$";
sRes += g_oCellAddressUtils.colnumToColstr(this.c1 + 1) + ":";
......
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