summaryrefslogtreecommitdiff
path: root/Userland/Applications
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2021-10-03 02:17:33 +0100
committerLinus Groh <mail@linusgroh.de>2021-10-03 20:14:03 +0100
commit3be26f56db0b70c02a361e7ccf797eecfd84ab99 (patch)
treee219b220a9550a3408bc8050a2a5ad3976563357 /Userland/Applications
parentf38a5957bf7c7546181fc098bb27e45a7a21415d (diff)
downloadserenity-3be26f56db0b70c02a361e7ccf797eecfd84ab99.zip
LibJS: Convert has_own_property() to ThrowCompletionOr
Diffstat (limited to 'Userland/Applications')
-rw-r--r--Userland/Applications/Spreadsheet/Spreadsheet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applications/Spreadsheet/Spreadsheet.cpp b/Userland/Applications/Spreadsheet/Spreadsheet.cpp
index 85b58501cf..84900d3b66 100644
--- a/Userland/Applications/Spreadsheet/Spreadsheet.cpp
+++ b/Userland/Applications/Spreadsheet/Spreadsheet.cpp
@@ -656,7 +656,7 @@ JsonObject Sheet::gather_documentation() const
return;
auto& value_object = value.is_object() ? value.as_object() : value.as_function();
- if (!value_object.has_own_property(doc_name))
+ if (!value_object.has_own_property(doc_name).release_value())
return;
dbgln("Found '{}'", it.key.to_display_string());