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

Avoid creation of new item in Internals.RowsCollection when adding comment #1161

Merged
merged 2 commits into from
Mar 25, 2019

Conversation

igitur
Copy link
Member

@igitur igitur commented Mar 20, 2019

In the XLComment constructor, the previous row's height is being looked up. If the row doesn't exist, we should avoid its creation in RowsCollection.

Also refactored XLRangeBase.Delete to make it more readable.

Fixes #1160

@igitur igitur requested a review from Pankraty March 20, 2019 16:54
@igitur igitur added the bug label Mar 20, 2019
@igitur igitur added this to the v0.95 milestone Mar 20, 2019
@igitur igitur merged commit f5002ac into ClosedXML:develop Mar 25, 2019
@igitur igitur deleted the issue1160-delete-row branch March 25, 2019 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants