undoapi: finally removed Enter/LeaveBasicAction
This commit is contained in:
parent
3969fb69b7
commit
7a95f49bde
3 changed files with 0 additions and 8 deletions
|
@ -212,8 +212,6 @@ void BasicIDEShell::Init()
|
||||||
SetName( String( RTL_CONSTASCII_USTRINGPARAM( "BasicIDE" ) ) );
|
SetName( String( RTL_CONSTASCII_USTRINGPARAM( "BasicIDE" ) ) );
|
||||||
SetHelpId( SVX_INTERFACE_BASIDE_VIEWSH );
|
SetHelpId( SVX_INTERFACE_BASIDE_VIEWSH );
|
||||||
|
|
||||||
SFX_APP()->EnterBasicCall();
|
|
||||||
|
|
||||||
LibBoxControl::RegisterControl( SID_BASICIDE_LIBSELECTOR );
|
LibBoxControl::RegisterControl( SID_BASICIDE_LIBSELECTOR );
|
||||||
LanguageBoxControl::RegisterControl( SID_BASICIDE_CURRENT_LANG );
|
LanguageBoxControl::RegisterControl( SID_BASICIDE_CURRENT_LANG );
|
||||||
|
|
||||||
|
@ -291,7 +289,6 @@ __EXPORT BasicIDEShell::~BasicIDEShell()
|
||||||
// ObjSh loslaesst. Es wusste auch keiner mehr wozu das gut war.
|
// ObjSh loslaesst. Es wusste auch keiner mehr wozu das gut war.
|
||||||
// GetViewFrame()->GetObjectShell()->Broadcast( SfxSimpleHint( SFX_HINT_DYING ) );
|
// GetViewFrame()->GetObjectShell()->Broadcast( SfxSimpleHint( SFX_HINT_DYING ) );
|
||||||
|
|
||||||
SFX_APP()->LeaveBasicCall();
|
|
||||||
IDE_DLL()->GetExtraData()->ShellInCriticalSection() = FALSE;
|
IDE_DLL()->GetExtraData()->ShellInCriticalSection() = FALSE;
|
||||||
|
|
||||||
GnBasicIDEShellCount--;
|
GnBasicIDEShellCount--;
|
||||||
|
|
|
@ -225,7 +225,6 @@ bool RenameModule( Window* pErrorParent, const ScriptDocument& rDocument, const
|
||||||
BasicIDEDLL::Init();
|
BasicIDEDLL::Init();
|
||||||
|
|
||||||
IDE_DLL()->GetExtraData()->ChoosingMacro() = TRUE;
|
IDE_DLL()->GetExtraData()->ChoosingMacro() = TRUE;
|
||||||
SFX_APP()->EnterBasicCall();
|
|
||||||
|
|
||||||
String aScriptURL;
|
String aScriptURL;
|
||||||
BOOL bError = FALSE;
|
BOOL bError = FALSE;
|
||||||
|
@ -345,8 +344,6 @@ bool RenameModule( Window* pErrorParent, const ScriptDocument& rDocument, const
|
||||||
|
|
||||||
delete pChooser;
|
delete pChooser;
|
||||||
|
|
||||||
SFX_APP()->LeaveBasicCall();
|
|
||||||
|
|
||||||
return ::rtl::OUString( aScriptURL );
|
return ::rtl::OUString( aScriptURL );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -216,14 +216,12 @@ IMPL_LINK( BasicIDEData, ExecuteMacroEvent, void *, pData )
|
||||||
{
|
{
|
||||||
if ( pData )
|
if ( pData )
|
||||||
{
|
{
|
||||||
SFX_APP()->EnterBasicCall();
|
|
||||||
SbMethod* pMethod = (SbMethod*)pData;
|
SbMethod* pMethod = (SbMethod*)pData;
|
||||||
|
|
||||||
// Ist es eine StarScript-Methode? Am Parent erkennen
|
// Ist es eine StarScript-Methode? Am Parent erkennen
|
||||||
DBG_ASSERT( pMethod->GetParent()->GetFlags() & SBX_EXTSEARCH, "Kein EXTSEARCH!" );
|
DBG_ASSERT( pMethod->GetParent()->GetFlags() & SBX_EXTSEARCH, "Kein EXTSEARCH!" );
|
||||||
BasicIDE::RunMethod( pMethod );
|
BasicIDE::RunMethod( pMethod );
|
||||||
pMethod->ReleaseRef(); // muss vorher inkrementiert worden sein!
|
pMethod->ReleaseRef(); // muss vorher inkrementiert worden sein!
|
||||||
SFX_APP()->LeaveBasicCall();
|
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue