Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

possible problems with 1-column worksheet #330

Closed
wants to merge 2 commits into from
Closed

Conversation

vks2
Copy link

@vks2 vks2 commented Apr 29, 2020

If the worksheet is resized to 1 row or 1 column, throws out of range exception, I guess, here

var dimensionRange = new RangePosition(0, 0, maxRows + 1, maxCols + 1);

Didn't check the loops

  for (int r = 0; r <= maxRows; r++)

and

  for (int c = 0; c <= maxCols;)

in this merge
may be you could better.
Regards

vks2 added 2 commits April 29, 2020 10:38
If we have 1-row or 1-column resized sheet, the new RangePosition(0, 0, maxRows + 1, maxCols + 1); is out of range.
@jingwood
Copy link
Member

jingwood commented Jan 10, 2023

Close thie PR since it was resolved by #400. Thanks for your proposal!
If you still think it is a problem please post a new PR or issue.

@jingwood jingwood closed this Jan 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants