summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/drviewse.cxx
diff options
context:
space:
mode:
authorMaxim Monastirsky <momonasmon@gmail.com>2015-07-18 21:51:27 +0300
committerMaxim Monastirsky <momonasmon@gmail.com>2015-07-18 22:16:39 +0300
commit7352a7c17875e5adcc4226c45f4a03e11c44ff49 (patch)
tree29a10d45779472d1b5c342c772867d80baf21864 /sd/source/ui/view/drviewse.cxx
parent9f75bad228ca1f410b7a450084b02ad13745110e (diff)
Convert SdTbxControl to the generic controller
And remove the now unused stuff from SfxToolBoxControl. Change-Id: I8805ba96a5dc41076d9cb8d887759a578a33526d
Diffstat (limited to 'sd/source/ui/view/drviewse.cxx')
-rw-r--r--sd/source/ui/view/drviewse.cxx30
1 files changed, 0 insertions, 30 deletions
diff --git a/sd/source/ui/view/drviewse.cxx b/sd/source/ui/view/drviewse.cxx
index 84208f1aaa3d..70cd2f6e8fc1 100644
--- a/sd/source/ui/view/drviewse.cxx
+++ b/sd/source/ui/view/drviewse.cxx
@@ -159,8 +159,6 @@ void DrawViewShell::FuPermanent(SfxRequest& rReq)
pFuText->SetPermanent(true);
xFunc->ReceiveRequest( rReq );
- MapSlot( nSId );
-
Invalidate();
Invalidate();
@@ -227,9 +225,6 @@ void DrawViewShell::FuPermanent(SfxRequest& rReq)
rBind.Update(nOldSId);
}
- // map Slot (ToolboxImages/-Slots)
- MapSlot( nSId );
-
switch ( nSId )
{
case SID_TEXTEDIT: // BASIC ???
@@ -713,9 +708,6 @@ void DrawViewShell::FuSupport(SfxRequest& rReq)
sal_uInt16 nSId = rReq.GetSlot();
- // maybe we map the slot (ToolboxImages/-Slots)
- MapSlot( nSId );
-
switch ( nSId )
{
case SID_CLEAR_UNDO_STACK:
@@ -725,28 +717,6 @@ void DrawViewShell::FuSupport(SfxRequest& rReq)
}
break;
- // execute slots of ToolboxController mapped
- case SID_OBJECT_CHOOSE_MODE:
- case SID_POSITION:
- case SID_ZOOM_TOOLBOX:
- case SID_DRAWTBX_TEXT:
- case SID_DRAWTBX_RECTANGLES:
- case SID_DRAWTBX_ELLIPSES:
- case SID_DRAWTBX_LINES:
- case SID_DRAWTBX_ARROWS:
- case SID_DRAWTBX_3D_OBJECTS:
- case SID_DRAWTBX_CONNECTORS:
- case SID_DRAWTBX_INSERT:
- {
- sal_uInt16 nMappedSlot = GetMappedSlot( nSId );
- if( nMappedSlot > 0 )
- {
- SfxRequest aReq( nMappedSlot, SfxCallMode::SLOT, GetDoc()->GetItemPool() );
- ExecuteSlot( aReq );
- }
- }
- break;
-
case SID_PRESENTATION:
case SID_PRESENTATION_CURRENT_SLIDE:
case SID_REHEARSE_TIMINGS: