DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43399>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43399





------- Additional Comments From [EMAIL PROTECTED]  2007-09-14 15:01 -------
I downloaded the source code and investigated.  The problem is the result of 
taking an int value, writing to 2 bytes and then loading it back into an int.  
This turns numbers greater than 32767 negative.  I was able to resolve this 
problem by placing the following code at the end of the constructors of 
org.apache.poi.hssf.util.CellReference...

        if (row < 0)
            row = (Math.abs(row) - 1) ^ 0xFFFF;

Could someone please add this (or something like it) to the codebase.  Thanks.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to