summaryrefslogtreecommitdiff
path: root/Userland/Applications/Spreadsheet/Spreadsheet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Applications/Spreadsheet/Spreadsheet.cpp')
-rw-r--r--Userland/Applications/Spreadsheet/Spreadsheet.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/Userland/Applications/Spreadsheet/Spreadsheet.cpp b/Userland/Applications/Spreadsheet/Spreadsheet.cpp
index c8cee6ef0e..bf474d370f 100644
--- a/Userland/Applications/Spreadsheet/Spreadsheet.cpp
+++ b/Userland/Applications/Spreadsheet/Spreadsheet.cpp
@@ -751,4 +751,11 @@ URL Position::to_url(Sheet const& sheet) const
return url;
}
+CellChange::CellChange(Cell& cell, String const& previous_data)
+ : m_cell(cell)
+ , m_previous_data(previous_data)
+{
+ m_new_data = cell.data();
+}
+
}