summaryrefslogtreecommitdiff
path: root/Userland/Applications/Spreadsheet/Workbook.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Applications/Spreadsheet/Workbook.h')
-rw-r--r--Userland/Applications/Spreadsheet/Workbook.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Userland/Applications/Spreadsheet/Workbook.h b/Userland/Applications/Spreadsheet/Workbook.h
index 84d394053d..b4d31e6be6 100644
--- a/Userland/Applications/Spreadsheet/Workbook.h
+++ b/Userland/Applications/Spreadsheet/Workbook.h
@@ -14,7 +14,7 @@ namespace Spreadsheet {
class Workbook {
public:
- Workbook(NonnullRefPtrVector<Sheet>&& sheets, GUI::Window& parent_window);
+ Workbook(Vector<NonnullRefPtr<Sheet>>&& sheets, GUI::Window& parent_window);
ErrorOr<void, DeprecatedString> open_file(String const& filename, Core::File&);
ErrorOr<void> write_to_file(String const& filename, Core::File&);
@@ -28,8 +28,8 @@ public:
bool has_sheets() const { return !m_sheets.is_empty(); }
- NonnullRefPtrVector<Sheet> const& sheets() const { return m_sheets; }
- NonnullRefPtrVector<Sheet> sheets() { return m_sheets; }
+ Vector<NonnullRefPtr<Sheet>> const& sheets() const { return m_sheets; }
+ Vector<NonnullRefPtr<Sheet>> sheets() { return m_sheets; }
Sheet& add_sheet(StringView name)
{
@@ -43,7 +43,7 @@ public:
JS::VM const& vm() const { return *m_vm; }
private:
- NonnullRefPtrVector<Sheet> m_sheets;
+ Vector<NonnullRefPtr<Sheet>> m_sheets;
NonnullRefPtr<JS::VM> m_vm;
NonnullOwnPtr<JS::Interpreter> m_interpreter;
JS::VM::InterpreterExecutionScope m_interpreter_scope;