We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 21afc7f commit 7f8beb1Copy full SHA for 7f8beb1
1 file changed
src/odr/internal/oldms/oldms_file.cpp
@@ -80,11 +80,13 @@ EncryptionState LegacyMicrosoftFile::encryption_state() const noexcept {
80
std::shared_ptr<abstract::DecodedFile>
81
LegacyMicrosoftFile::decrypt(const std::string &password) const {
82
(void)password;
83
- return {}; // TODO throw
+ throw UnsupportedOperation(
84
+ "odrcore does not support decryption of legacy Microsoft files");
85
}
86
87
std::shared_ptr<abstract::Document> LegacyMicrosoftFile::document() const {
88
89
+ "odrcore does not support reading legacy Microsoft files");
90
91
92
} // namespace odr::internal::oldms
0 commit comments