diff --git a/src/Mod/Spreadsheet/App/Sheet.cpp b/src/Mod/Spreadsheet/App/Sheet.cpp index d8329d084..8335ee3ae 100644 --- a/src/Mod/Spreadsheet/App/Sheet.cpp +++ b/src/Mod/Spreadsheet/App/Sheet.cpp @@ -1167,17 +1167,6 @@ void Sheet::setSpans(CellAddress address, int rows, int columns) cells.setSpans(address, rows, columns); } -/** - * Move a cell from \a currPos to \a newPos. If the cell at new position - * contains data, it is overwritten by the move. - * - */ - -void Sheet::moveCell(CellAddress currPos, CellAddress newPos) -{ - cells.moveCell(currPos, newPos); -} - /** * @brief Called when a document object is renamed. * @param docObj Renamed document object. diff --git a/src/Mod/Spreadsheet/App/Sheet.h b/src/Mod/Spreadsheet/App/Sheet.h index e8a26fc89..6f70c1edb 100644 --- a/src/Mod/Spreadsheet/App/Sheet.h +++ b/src/Mod/Spreadsheet/App/Sheet.h @@ -244,8 +244,6 @@ protected: App::Property *setQuantityProperty(CellAddress key, double value, const Base::Unit &unit); - void moveCell(CellAddress currPos, CellAddress newPos); - void renamedDocumentObject(const App::DocumentObject * docObj); void aliasRemoved(CellAddress address, const std::string &alias);