Sheet: Further cleanup in Sheet class

With PR 21445 an unused function has been removed. But the underlying
class member isn't used anywhere else and can be removed as well.
This commit is contained in:
wmayer
2025-05-21 11:56:02 +02:00
committed by Ladislav Michl
parent 513260d29d
commit b38c8867d0
2 changed files with 0 additions and 9 deletions

View File

@@ -146,11 +146,6 @@ void Sheet::clearAll()
cellErrors.clear();
columnWidths.clear();
rowHeights.clear();
for (auto& observer : observers) {
delete observer.second;
}
observers.clear();
}
// validate import/export parameters

View File

@@ -290,10 +290,6 @@ protected:
/* Row heights */
PropertyRowHeights rowHeights;
/* Document observers to track changes to external properties */
using ObserverMap = std::map<std::string, SheetObserver*>;
ObserverMap observers;
int currentRow = -1;
int currentCol = -1;