You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2007/08/07 11:45:48 UTC
DO NOT REPLY [Bug 30714] - HSSFSheet.setRowSumsBelow is not working
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=30714>.
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=30714
------- Additional Comments From P.Titera@gmail.com 2007-08-07 02:45 -------
This bug still exists even in HEAD version. Will this fix it?
--- WSBoolRecord.java (revision 563431)
+++ WSBoolRecord.java (working copy)
@@ -93,9 +93,9 @@
{
byte data[] = in.readRemainder();
field_1_wsbool =
- data[ 1 ]; // backwards because theoretically this is one short field
+ data[ 0 ]; // backwards because theoretically this is one short field
field_2_wsbool =
- data[ 0 ]; // but it was easier to implement it this way to avoid
confusion
+ data[ 1 ]; // but it was easier to implement it this way to avoid
confusion
} // because the dev kit shows the masks for it
as 2 byte fields
// why? Why ask why? But don't drink bud dry as its a really
@@ -352,8 +352,8 @@
{
LittleEndian.putShort(data, 0 + offset, sid);
LittleEndian.putShort(data, 2 + offset, ( short ) 0x2);
- data[ 5 + offset ] = getWSBool1();
- data[ 4 + offset ] = getWSBool2();
+ data[ 4 + offset ] = getWSBool1();
+ data[ 5 + offset ] = getWSBool2();
return getRecordSize();
}
--
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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org