1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 07:27:45 +00:00

Spreadsheet: Make file export functions return ErrorOr<>

This commit is contained in:
Karol Kosek 2022-12-31 15:38:12 +01:00 committed by Ali Mohammad Pur
parent 29a3cdcfb7
commit 5793f7749c
5 changed files with 59 additions and 68 deletions

View file

@ -18,7 +18,7 @@ public:
Workbook(NonnullRefPtrVector<Sheet>&& sheets, GUI::Window& parent_window);
Result<bool, DeprecatedString> open_file(Core::File&);
Result<bool, DeprecatedString> write_to_file(Core::File&);
ErrorOr<void> write_to_file(Core::File&);
Result<bool, DeprecatedString> import_file(Core::File&);