FreeCAD: master 24c61836

Author Committer Branch Timestamp Parent
hyarion hyarion master 2021-01-19 01:55:49 master 98414334
Changeset Spreadsheet: make setContent use unique_ptr and cleanup

Make `Cell::setContent` use `unique_ptr` and
`make_unique` for expressions to avoid potential memory
leaks.
Also renames `expo` to `newExpr` to avoid mixup with the
member variable `expression`.

Both changes was made at the request of @chennes.
mod - src/Mod/Spreadsheet/App/Cell.cpp Diff File