diff options
author | Max Wipfli <mail@maxwipfli.ch> | 2021-05-27 21:25:33 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-06-01 09:28:05 +0200 |
commit | 915cce5b74960c946fff8da10b87728b150f90d4 (patch) | |
tree | 6b6dcd4e03fac866ac9d2ad8d39aee0cc98d4d97 /Userland/Applications/Spreadsheet | |
parent | 81f03e7a5d2b78f750d525c27b964ffe9bad6179 (diff) | |
download | serenity-915cce5b74960c946fff8da10b87728b150f90d4.zip |
Spreadsheet: Remove usage of URL::set_path()
This replaces a call to URL::set_path() with URL::set_paths(), as
set_path() will be deprecated and removed.
Diffstat (limited to 'Userland/Applications/Spreadsheet')
-rw-r--r-- | Userland/Applications/Spreadsheet/Spreadsheet.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applications/Spreadsheet/Spreadsheet.cpp b/Userland/Applications/Spreadsheet/Spreadsheet.cpp index ec4a0d39ad..1e3dce5e8f 100644 --- a/Userland/Applications/Spreadsheet/Spreadsheet.cpp +++ b/Userland/Applications/Spreadsheet/Spreadsheet.cpp @@ -706,7 +706,7 @@ URL Position::to_url(const Sheet& sheet) const URL url; url.set_protocol("spreadsheet"); url.set_host("cell"); - url.set_path(String::formatted("/{}", getpid())); + url.set_paths({ String::number(getpid()) }); url.set_fragment(to_cell_identifier(sheet)); return url; } |