summaryrefslogtreecommitdiff
path: root/Userland/Applications/Spreadsheet
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2021-08-08 21:31:44 +0100
committerLinus Groh <mail@linusgroh.de>2021-08-08 21:32:58 +0100
commit312946059b850056f7c50c0618e49025b2edc2b4 (patch)
tree47a57dfa16b5fccd235f659fd928f0fc9d3d3090 /Userland/Applications/Spreadsheet
parentbac3c2cf6df99eaafeebc280c41f8c41eb7f5972 (diff)
downloadserenity-312946059b850056f7c50c0618e49025b2edc2b4.zip
LibJS+Spreadsheet: Use js_string(VM&, ...) overload more
Diffstat (limited to 'Userland/Applications/Spreadsheet')
-rw-r--r--Userland/Applications/Spreadsheet/JSIntegration.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Applications/Spreadsheet/JSIntegration.cpp b/Userland/Applications/Spreadsheet/JSIntegration.cpp
index 1d44868d3a..0b8cb6fcb0 100644
--- a/Userland/Applications/Spreadsheet/JSIntegration.cpp
+++ b/Userland/Applications/Spreadsheet/JSIntegration.cpp
@@ -192,9 +192,9 @@ JS_DEFINE_NATIVE_FUNCTION(SheetGlobalObject::get_real_cell_contents)
return JS::js_undefined();
if (cell->kind() == Spreadsheet::Cell::Kind::Formula)
- return JS::js_string(vm.heap(), String::formatted("={}", cell->data()));
+ return JS::js_string(vm, String::formatted("={}", cell->data()));
- return JS::js_string(vm.heap(), cell->data());
+ return JS::js_string(vm, cell->data());
}
JS_DEFINE_NATIVE_FUNCTION(SheetGlobalObject::set_real_cell_contents)