diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-28 09:58:59 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-28 13:31:49 +0200 |
commit | 2fbb97367ac93eb11429382f31fa6417eec76f8d (patch) | |
tree | 91b03fca5308c5fbe19bb309192bb75591e1f810 /svx/source/svdraw/svdundo.cxx | |
parent | d664a01f3be81572526d1136c261d86c12f5af90 (diff) |
loplugin:unusedmethods
Change-Id: I5f9ef043d76c55f2c761fd08a2bc1dae66b675c8
Reviewed-on: https://gerrit.libreoffice.org/61073
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/svdraw/svdundo.cxx')
-rw-r--r-- | svx/source/svdraw/svdundo.cxx | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/svx/source/svdraw/svdundo.cxx b/svx/source/svdraw/svdundo.cxx index 09bf65d05f68..a4b5b965cdfb 100644 --- a/svx/source/svdraw/svdundo.cxx +++ b/svx/source/svdraw/svdundo.cxx @@ -1313,26 +1313,6 @@ OUString SdrUndoDelLayer::GetComment() const } -void SdrUndoMoveLayer::Undo() -{ - SdrLayer* pCmpLayer= pLayerAdmin->RemoveLayer(nNewPos); - DBG_ASSERT(pCmpLayer==pLayer,"SdrUndoMoveLayer::Undo(): Removed layer is != pLayer."); - pLayerAdmin->InsertLayer(pLayer,nNum); -} - -void SdrUndoMoveLayer::Redo() -{ - SdrLayer* pCmpLayer= pLayerAdmin->RemoveLayer(nNum); - DBG_ASSERT(pCmpLayer==pLayer,"SdrUndoMoveLayer::Redo(): Removed layer is != pLayer."); - pLayerAdmin->InsertLayer(pLayer,nNewPos); -} - -OUString SdrUndoMoveLayer::GetComment() const -{ - return SvxResId(STR_UndoMovLayer); -} - - SdrUndoPage::SdrUndoPage(SdrPage& rNewPg) : SdrUndoAction(rNewPg.getSdrModelFromSdrPage()) ,mrPage(rNewPg) |