mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 16:07:46 +00:00
Spreadsheet: Make file export functions return ErrorOr<>
This commit is contained in:
parent
29a3cdcfb7
commit
5793f7749c
5 changed files with 59 additions and 68 deletions
|
@ -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&);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue