summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorFrank Schoenheit [fs] <frank.schoenheit@sun.com>2010-11-02 21:29:38 +0100
committerFrank Schoenheit [fs] <frank.schoenheit@sun.com>2010-11-02 21:29:38 +0100
commit7a95f49bde4b61fb3039d96067b716df29edabde (patch)
treec85c5a476705a419748632655c82dd0856681678 /basctl
parent3969fb69b75643fa849e0557c85fc501636a3e21 (diff)
undoapi: finally removed Enter/LeaveBasicAction
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/basicide/basidesh.cxx3
-rw-r--r--basctl/source/basicide/basobj2.cxx3
-rw-r--r--basctl/source/basicide/iderdll.cxx2
3 files changed, 0 insertions, 8 deletions
diff --git a/basctl/source/basicide/basidesh.cxx b/basctl/source/basicide/basidesh.cxx
index e09cdaf9bdc1..cffe1748846d 100644
--- a/basctl/source/basicide/basidesh.cxx
+++ b/basctl/source/basicide/basidesh.cxx
@@ -212,8 +212,6 @@ void BasicIDEShell::Init()
SetName( String( RTL_CONSTASCII_USTRINGPARAM( "BasicIDE" ) ) );
SetHelpId( SVX_INTERFACE_BASIDE_VIEWSH );
- SFX_APP()->EnterBasicCall();
-
LibBoxControl::RegisterControl( SID_BASICIDE_LIBSELECTOR );
LanguageBoxControl::RegisterControl( SID_BASICIDE_CURRENT_LANG );
@@ -291,7 +289,6 @@ __EXPORT BasicIDEShell::~BasicIDEShell()
// ObjSh loslaesst. Es wusste auch keiner mehr wozu das gut war.
// GetViewFrame()->GetObjectShell()->Broadcast( SfxSimpleHint( SFX_HINT_DYING ) );
- SFX_APP()->LeaveBasicCall();
IDE_DLL()->GetExtraData()->ShellInCriticalSection() = FALSE;
GnBasicIDEShellCount--;
diff --git a/basctl/source/basicide/basobj2.cxx b/basctl/source/basicide/basobj2.cxx
index 9604a8bd9933..8bb3fba16536 100644
--- a/basctl/source/basicide/basobj2.cxx
+++ b/basctl/source/basicide/basobj2.cxx
@@ -225,7 +225,6 @@ bool RenameModule( Window* pErrorParent, const ScriptDocument& rDocument, const
BasicIDEDLL::Init();
IDE_DLL()->GetExtraData()->ChoosingMacro() = TRUE;
- SFX_APP()->EnterBasicCall();
String aScriptURL;
BOOL bError = FALSE;
@@ -345,8 +344,6 @@ bool RenameModule( Window* pErrorParent, const ScriptDocument& rDocument, const
delete pChooser;
- SFX_APP()->LeaveBasicCall();
-
return ::rtl::OUString( aScriptURL );
}
diff --git a/basctl/source/basicide/iderdll.cxx b/basctl/source/basicide/iderdll.cxx
index a15bed689b6f..fac7ff2407cb 100644
--- a/basctl/source/basicide/iderdll.cxx
+++ b/basctl/source/basicide/iderdll.cxx
@@ -216,14 +216,12 @@ IMPL_LINK( BasicIDEData, ExecuteMacroEvent, void *, pData )
{
if ( pData )
{
- SFX_APP()->EnterBasicCall();
SbMethod* pMethod = (SbMethod*)pData;
// Ist es eine StarScript-Methode? Am Parent erkennen
DBG_ASSERT( pMethod->GetParent()->GetFlags() & SBX_EXTSEARCH, "Kein EXTSEARCH!" );
BasicIDE::RunMethod( pMethod );
pMethod->ReleaseRef(); // muss vorher inkrementiert worden sein!
- SFX_APP()->LeaveBasicCall();
}
return 0;
}