Sheet.getColumnWidth() returns the value of the next column to the right with an explicitly set column width, when querying the width of a column using the default. This is because of an incorrect condition to test is a column is within a certain range. I will attach a patch containing the fix.
Created attachment 6366 [details] patch file that changes condition in Sheet.getColumnWidth()
Anybody have a testcase for this.. please?
seems straightforward. this should be applied.
This bug had been fixed in Sheet.java rev 1.29 thru the patch in bug 18090 . It however made its reappearance at the merge of the performance branch in rev 1.36. Thus, this patch is applied only to HEAD, since rel_2_branch (branch point rev 1.31) is correct. Moral of the story... testcase!!