summaryrefslogtreecommitdiff
path: root/Userland/Applications/Spreadsheet/JSIntegration.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Applications/Spreadsheet/JSIntegration.cpp')
-rw-r--r--Userland/Applications/Spreadsheet/JSIntegration.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/Userland/Applications/Spreadsheet/JSIntegration.cpp b/Userland/Applications/Spreadsheet/JSIntegration.cpp
index cf0a9f00f8..13982e5142 100644
--- a/Userland/Applications/Spreadsheet/JSIntegration.cpp
+++ b/Userland/Applications/Spreadsheet/JSIntegration.cpp
@@ -151,12 +151,12 @@ void SheetGlobalObject::initialize_global_object()
{
Base::initialize_global_object();
u8 attr = JS::Attribute::Configurable | JS::Attribute::Writable | JS::Attribute::Enumerable;
- define_native_function("get_real_cell_contents", get_real_cell_contents, 1, attr);
- define_native_function("set_real_cell_contents", set_real_cell_contents, 2, attr);
- define_native_function("parse_cell_name", parse_cell_name, 1, attr);
- define_native_function("current_cell_position", current_cell_position, 0, attr);
- define_native_function("column_arithmetic", column_arithmetic, 2, attr);
- define_native_function("column_index", column_index, 1, attr);
+ define_old_native_function("get_real_cell_contents", get_real_cell_contents, 1, attr);
+ define_old_native_function("set_real_cell_contents", set_real_cell_contents, 2, attr);
+ define_old_native_function("parse_cell_name", parse_cell_name, 1, attr);
+ define_old_native_function("current_cell_position", current_cell_position, 0, attr);
+ define_old_native_function("column_arithmetic", column_arithmetic, 2, attr);
+ define_old_native_function("column_index", column_index, 1, attr);
}
void SheetGlobalObject::visit_edges(Visitor& visitor)
@@ -387,7 +387,7 @@ WorkbookObject::~WorkbookObject()
void WorkbookObject::initialize(JS::GlobalObject& global_object)
{
Object::initialize(global_object);
- define_native_function("sheet", sheet, 1, JS::default_attributes);
+ define_old_native_function("sheet", sheet, 1, JS::default_attributes);
}
void WorkbookObject::visit_edges(Visitor& visitor)