summaryrefslogtreecommitdiffstats
path: root/basctl/source/basicide/basobj2.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'basctl/source/basicide/basobj2.cxx')
-rw-r--r--basctl/source/basicide/basobj2.cxx25
1 files changed, 0 insertions, 25 deletions
diff --git a/basctl/source/basicide/basobj2.cxx b/basctl/source/basicide/basobj2.cxx
index 4d0ccca05581..e4abb3fad92e 100644
--- a/basctl/source/basicide/basobj2.cxx
+++ b/basctl/source/basicide/basobj2.cxx
@@ -80,31 +80,6 @@ namespace BasicIDE
{
//----------------------------------------------------------------------------
-SfxMacro* CreateMacro()
-{
- DBG_ERROR( "BasicIDE::CreateMacro() - war eigentlich nur fuer Macro-Recording!" );
- IDE_DLL()->GetExtraData()->ChoosingMacro() = TRUE;
- SFX_APP()->EnterBasicCall();
- Window* pParent = Application::GetDefDialogParent();
- SfxMacro* pMacro = 0;
- MacroChooser* pChooser = new MacroChooser( pParent, TRUE );
- Window* pOldModalDialogParent = Application::GetDefDialogParent();
- Application::SetDefDialogParent( pChooser );
- //pChooser->SetMode( MACROCHOOSER_RECORDING );
- short nRetValue = pChooser->Execute();
- (void)nRetValue;
-
- Application::SetDefDialogParent( pOldModalDialogParent );
- delete pChooser;
-
- SFX_APP()->LeaveBasicCall();
- IDE_DLL()->GetExtraData()->ChoosingMacro() = FALSE;
-
- return pMacro;
-}
-
-//----------------------------------------------------------------------------
-
void Organize( INT16 tabId )
{
BasicIDEDLL::Init();