diff --git a/Userland/Applications/Spreadsheet/SpreadsheetView.cpp b/Userland/Applications/Spreadsheet/SpreadsheetView.cpp index 30dfe96746d..cd587cb7764 100644 --- a/Userland/Applications/Spreadsheet/SpreadsheetView.cpp +++ b/Userland/Applications/Spreadsheet/SpreadsheetView.cpp @@ -266,7 +266,7 @@ SpreadsheetView::SpreadsheetView(Sheet& sheet) ScopeGuard update_after_drop { [this] { update(); } }; if (event.mime_data().has_format("text/x-spreadsheet-data")) { - auto data = event.mime_data().data("text/x-spreadsheet-data"); + auto const& data = event.mime_data().data("text/x-spreadsheet-data"); StringView urls { data.data(), data.size() }; Vector source_positions, target_positions;