diff options
author | Frank Schoenheit [fs] <frank.schoenheit@sun.com> | 2010-11-01 15:32:51 +0100 |
---|---|---|
committer | Frank Schoenheit [fs] <frank.schoenheit@sun.com> | 2010-11-01 15:32:51 +0100 |
commit | db9a2bb5c0c65e35114b9718f241e9ce03483b50 (patch) | |
tree | 702b689e3c57ea34f1a8a1dd1c088c6335eef27a /sfx2/source/appl/appbas.cxx | |
parent | 0c8fe3c8582cbe4dcbc4cf27f2f200990a10ff0e (diff) |
undoapi: removed SfxMacroConfig functionality which related to administration of slot runtime-generated slot IDs corresponding to script macros - the last (pseudo-) client of this was just removed, so all of this is dead
Diffstat (limited to 'sfx2/source/appl/appbas.cxx')
-rw-r--r-- | sfx2/source/appl/appbas.cxx | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/sfx2/source/appl/appbas.cxx b/sfx2/source/appl/appbas.cxx index 71c2508e7e6a..a37b93995edf 100644 --- a/sfx2/source/appl/appbas.cxx +++ b/sfx2/source/appl/appbas.cxx @@ -431,31 +431,6 @@ void SfxApplication::PropState_Impl( SfxItemSet &rSet ) } } -//-------------------------------------------------------------------- -void SfxApplication::MacroExec_Impl( SfxRequest& rReq ) -{ - DBG_MEMTEST(); - if ( SfxMacroConfig::IsMacroSlot( rReq.GetSlot() ) ) - { - // SlotId referenzieren, damit nicht im Execute der Slot abgeschossen - // werden kann - GetMacroConfig()->RegisterSlotId(rReq.GetSlot()); - SFX_REQUEST_ARG(rReq, pArgs, SfxStringItem, - rReq.GetSlot(), sal_False); - String aArgs; - if( pArgs ) aArgs = pArgs->GetValue(); - if ( GetMacroConfig()->ExecuteMacro(rReq.GetSlot(), aArgs ) ) - rReq.Done(); - GetMacroConfig()->ReleaseSlotId(rReq.GetSlot()); - } -} - -//-------------------------------------------------------------------- -void SfxApplication::MacroState_Impl( SfxItemSet& ) -{ - DBG_MEMTEST(); -} - //------------------------------------------------------------------------- void SfxApplication::PlayMacro_Impl( SfxRequest &rReq, StarBASIC *pBasic ) |