From 29695a8ae7cf24d5721bf0ca46ae58e3fef3fbed Mon Sep 17 00:00:00 2001 From: Eivind Kvedalen Date: Wed, 7 Oct 2015 22:12:33 +0200 Subject: [PATCH] Spreadsheet: Removed unused function. --- src/Mod/Spreadsheet/App/Sheet.cpp | 11 ----------- src/Mod/Spreadsheet/App/Sheet.h | 2 -- 2 files changed, 13 deletions(-) diff --git a/src/Mod/Spreadsheet/App/Sheet.cpp b/src/Mod/Spreadsheet/App/Sheet.cpp index d8329d0840..8335ee3aec 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 e8a26fc89e..6f70c1edb4 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);