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

--- Comment #7 from [email protected] 2011-04-01 07:07:31 EDT ---
(In reply to comment #6)
> (In reply to comment #5)
> > But I think there is a Problem in this code snapshot:
> > 
> > if (rowSplit == 0) {
> >             pane.setTopLeftCell(new CellReference(0, 
> > topRow).formatAsString());
> > 
> > (from XSSFSheet.createFreezePane)
> > If there is only  a column split the file is not correct (topRow is used and
> > this is wrong)
> 
> What do you think it should be?
> 
> (We'll probably want to work up another unit test that checks that HSSF and
> XSSF agree, but it'd be worth ensuring that we end up with the correct same
> answer!)

I think it should be 

      if (rowSplit == 0) {
          pane.setTopLeftCell(new CellReference(0, colSplit).formatAsString());

-- 
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