! * Clears all values in the spreadsheet. */
| 659 | * Clears all values in the spreadsheet. |
| 660 | */ |
| 661 | void Spreadsheet::clear() { |
| 662 | WAIT_CURSOR; |
| 663 | beginMacro(i18n("%1: clear", name())); |
| 664 | for (auto* col : children<Column>()) |
| 665 | col->clear(); |
| 666 | endMacro(); |
| 667 | RESET_CURSOR; |
| 668 | } |
| 669 | |
| 670 | /*! |
| 671 | * Clears all values in the specified \c columns. |
no test coverage detected