1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 05:08:13 +00:00

Spreadsheet: struct Cell => class Cell

Hide private members, and make the odd update() -> sheet->update(cell)
-> update(Badge<Sheet>) -> update_data() less odd by removing the
update(Badge<Sheet>) step.
This commit is contained in:
AnotherTest 2020-12-20 12:58:14 +03:30 committed by Andreas Kling
parent 28428beb5c
commit f1f9fd1c60
8 changed files with 110 additions and 93 deletions

View file

@ -181,7 +181,7 @@ int main(int argc, char* argv[])
if (!first)
text_builder.append('\t');
if (cell_data)
text_builder.append(cell_data->data);
text_builder.append(cell_data->data());
first = false;
}
HashMap<String, String> metadata;