Commit b85074d0 authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

ActiveRange -> FormulaRange

oFirstAddr -> oCacheVal.first
oLastAddr -> oCacheVal.last

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@56072 954022d7-b5bf-4e40-9824-e11837661b57
parent 1aba1e83
......@@ -442,12 +442,12 @@
if(1 == arguments.length)
{
var range = arguments[0];
ActiveRange.superclass.constructor.call(this, range.c1, range.r1, range.c2, range.r2);
FormulaRange.superclass.constructor.call(this, range.c1, range.r1, range.c2, range.r2);
}
else if(arguments.length > 1)
ActiveRange.superclass.constructor.apply(this, arguments);
FormulaRange.superclass.constructor.apply(this, arguments);
else
ActiveRange.superclass.constructor.call(this, 0, 0, 0, 0);
FormulaRange.superclass.constructor.call(this, 0, 0, 0, 0);
this.r1Abs = false;
this.c1Abs = false;
this.r2Abs = false;
......@@ -567,11 +567,11 @@
oRes = oCacheVal.formulaRange;
if (null == oRes && null != oCacheVal.first && null != oCacheVal.last) {
var r1 = oCacheVal.first.getRow0(), r2 = oCacheVal.last.getRow0(), c1 = oCacheVal.first.getCol0(), c2 = oCacheVal.last.getCol0();
if (oFirstAddr.getIsRow() && oLastAddr.getIsRow()) {
if (oCacheVal.first.getIsRow() && oCacheVal.last.getIsRow()) {
c1 = 0;
c2 = gc_nMaxCol0;
}
if (oFirstAddr.getIsCol() && oLastAddr.getIsCol()) {
if (oCacheVal.first.getIsCol() && oCacheVal.last.getIsCol()) {
r1 = 0;
r2 = gc_nMaxRow0;
}
......
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