Skip to content

Conversation

@TomTasche
Copy link
Member

No description provided.

@TomTasche TomTasche requested a review from andiwand February 2, 2025 07:53
Copy link
Member

@andiwand andiwand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think at some point I reveres the order of the vector returned by odr::OpenDocumentReader::types. I tried to protect against the order in my suggestions

}

fileType = types.back();
} catch (odr::UnsupportedFileType &e) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should never throw but it might be a good idea to protect against it

TomTasche and others added 2 commits February 6, 2025 20:58
Co-authored-by: Andreas Stefl <stefl.andreas@gmail.com>
@TomTasche TomTasche merged commit bff44cc into main Feb 6, 2025
1 check failed
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.

3 participants