https://issues.apache.org/bugzilla/show_bug.cgi?id=53101

--- Comment #2 from [email protected] 2012-04-18 17:04:21 UTC ---
I have a fix for this. I've modified pgetRelativeValue(..) in LazyAreaEval as
follows:

public ValueEval getRelativeValue(int relativeRowIndex, int
relativeColumnIndex) {

  int rowIx = (relativeRowIndex + getFirstRow() ) & 0xFFFF;
  int colIx = (relativeColumnIndex + getFirstColumn() ) & 0x3FFF;

  return _evaluator.getEvalForCell(rowIx, colIx);
}

The existing code contains:

int colIx = (relativeColumnIndex + getFirstColumn() ) & 0x00FF;

which assigns 0 to colIx if relativeColumnIndex + getFirstColumn() > 255, thus
cell numbers > 255 are not evaluated.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to