summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdundo.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/svdraw/svdundo.cxx')
-rw-r--r--svx/source/svdraw/svdundo.cxx20
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)