summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdedtv.cxx
diff options
context:
space:
mode:
authorFelix Zhang <fezhang@suse.com>2011-11-18 18:23:52 +0800
committerJan Holesovsky <kendy@suse.cz>2011-11-18 23:35:52 +0100
commitddb1d5ebf0a81888001ffa1dbab883df70cdc279 (patch)
tree955d4a1dd2233669eb3256f93a43ff9b8da4fb31 /svx/source/svdraw/svdedtv.cxx
parent898c527481059017c8f75ba51bfc80b297f0480d (diff)
remove unused Sdr methods
Diffstat (limited to 'svx/source/svdraw/svdedtv.cxx')
-rw-r--r--svx/source/svdraw/svdedtv.cxx14
1 files changed, 0 insertions, 14 deletions
diff --git a/svx/source/svdraw/svdedtv.cxx b/svx/source/svdraw/svdedtv.cxx
index 8874f112223f..7ed203930f07 100644
--- a/svx/source/svdraw/svdedtv.cxx
+++ b/svx/source/svdraw/svdedtv.cxx
@@ -308,20 +308,6 @@ void SdrEditView::DeleteLayer(const XubString& rName)
}
}
-void SdrEditView::MoveLayer(const XubString& rName, sal_uInt16 nNewPos)
-{
- SdrLayerAdmin& rLA=pMod->GetLayerAdmin();
- SdrLayer* pLayer=rLA.GetLayer(rName,sal_True);
- sal_uInt16 nLayerNum=rLA.GetLayerPos(pLayer);
- if (nLayerNum!=SDRLAYER_NOTFOUND)
- {
- if( IsUndoEnabled() )
- AddUndo(GetModel()->GetSdrUndoFactory().CreateUndoMoveLayer(nLayerNum,rLA,*pMod,nNewPos));
- rLA.MoveLayer(nLayerNum,nNewPos);
- pMod->SetChanged();
- }
-}
-
////////////////////////////////////////////////////////////////////////////////////////////////////
void SdrEditView::EndUndo()