diff options
author | Tim Schumacher <timschumi@gmx.de> | 2023-02-08 21:08:01 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2023-02-13 00:50:07 +0000 |
commit | d43a7eae545cd699f301471bd0f82399174339c1 (patch) | |
tree | c0a55f768f845041c3aebed3f126d462155a799f /Userland/Applications/Spreadsheet/Spreadsheet.cpp | |
parent | 14951b92ca6160664ccb68c5e1b2d40133763e5f (diff) | |
download | serenity-d43a7eae545cd699f301471bd0f82399174339c1.zip |
LibCore: Rename `File` to `DeprecatedFile`
As usual, this removes many unused includes and moves used includes
further down the chain.
Diffstat (limited to 'Userland/Applications/Spreadsheet/Spreadsheet.cpp')
-rw-r--r-- | Userland/Applications/Spreadsheet/Spreadsheet.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Applications/Spreadsheet/Spreadsheet.cpp b/Userland/Applications/Spreadsheet/Spreadsheet.cpp index 3893e3988e..94b12d07f0 100644 --- a/Userland/Applications/Spreadsheet/Spreadsheet.cpp +++ b/Userland/Applications/Spreadsheet/Spreadsheet.cpp @@ -16,7 +16,7 @@ #include <AK/ScopeGuard.h> #include <AK/TemporaryChange.h> #include <AK/URL.h> -#include <LibCore/File.h> +#include <LibCore/DeprecatedFile.h> #include <LibJS/Interpreter.h> #include <LibJS/Parser.h> #include <LibJS/Runtime/AbstractOperations.h> @@ -49,7 +49,7 @@ Sheet::Sheet(Workbook& workbook) // Sadly, these have to be evaluated once per sheet. constexpr auto runtime_file_path = "/res/js/Spreadsheet/runtime.js"sv; - auto file_or_error = Core::File::open(runtime_file_path, Core::OpenMode::ReadOnly); + auto file_or_error = Core::DeprecatedFile::open(runtime_file_path, Core::OpenMode::ReadOnly); if (!file_or_error.is_error()) { auto buffer = file_or_error.value()->read_all(); auto script_or_error = JS::Script::parse(buffer, interpreter().realm(), runtime_file_path); |