mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 10:47:34 +00:00
Spreadsheet: Port from Result
to ErrorOr
This commit is contained in:
parent
4952cdfe2b
commit
81008062a7
4 changed files with 15 additions and 27 deletions
|
@ -7,7 +7,6 @@
|
|||
#pragma once
|
||||
|
||||
#include "Readers/XSV.h"
|
||||
#include <AK/Result.h>
|
||||
#include <AK/StringView.h>
|
||||
#include <LibGUI/Forward.h>
|
||||
#include <LibGUI/Wizards/WizardPage.h>
|
||||
|
@ -56,7 +55,7 @@ private:
|
|||
};
|
||||
|
||||
struct ImportDialog {
|
||||
static Result<NonnullRefPtrVector<Sheet>, DeprecatedString> make_and_run_for(GUI::Window& parent, StringView mime, Core::File& file, Workbook&);
|
||||
static ErrorOr<NonnullRefPtrVector<Sheet>, DeprecatedString> make_and_run_for(GUI::Window& parent, StringView mime, Core::File& file, Workbook&);
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue