mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 12:08:14 +00:00
Everywhere: Pass AK::StringView by value
This commit is contained in:
parent
ad5d217e76
commit
8b1108e485
392 changed files with 978 additions and 978 deletions
|
@ -369,14 +369,14 @@ void SpreadsheetWidget::try_generate_tip_for_input_expression(StringView source,
|
|||
}
|
||||
}
|
||||
|
||||
void SpreadsheetWidget::save(const StringView& filename)
|
||||
void SpreadsheetWidget::save(StringView filename)
|
||||
{
|
||||
auto result = m_workbook->save(filename);
|
||||
if (result.is_error())
|
||||
GUI::MessageBox::show_error(window(), result.error());
|
||||
}
|
||||
|
||||
void SpreadsheetWidget::load(const StringView& filename)
|
||||
void SpreadsheetWidget::load(StringView filename)
|
||||
{
|
||||
auto result = m_workbook->load(filename);
|
||||
if (result.is_error()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue