diff options
author | Noel Power <npower@openoffice.org> | 2009-09-23 11:48:33 +0000 |
---|---|---|
committer | Noel Power <npower@openoffice.org> | 2009-09-23 11:48:33 +0000 |
commit | b0465391ff56c5a87b5db2147eff358ebf8d73ed (patch) | |
tree | d1692ea2d13afaa066f6684bc67b83299fdba973 /basic | |
parent | 906fc07bf29b7e3f12848f9e51d087523200a743 (diff) |
oops, remove last changes ( they are not to do with Application:Quit )
or at least not directly
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/classes/sbxmod.cxx | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/basic/source/classes/sbxmod.cxx b/basic/source/classes/sbxmod.cxx index dd5600ed35a0..889426d68d4c 100644 --- a/basic/source/classes/sbxmod.cxx +++ b/basic/source/classes/sbxmod.cxx @@ -706,22 +706,6 @@ USHORT SbModule::Run( SbMethod* pMeth ) delete pRt; pMOD = pOldMod; - if ( pINST->nCallLvl == 0 && IsVBACompat() ) - { - // VBA always ensure screenupdating is enabled after completing - StarBASIC* pBasic = PTR_CAST(StarBASIC,GetParent()); - if ( pBasic && pBasic->IsDocBasic() ) - { - uno::Any aUnoVar; - ::rtl::OUString sVarName( ::rtl::OUString::createFromAscii( "ThisComponent" ) ); - SbUnoObject* pGlobs = dynamic_cast<SbUnoObject*>( pBasic->Find( sVarName, SbxCLASS_DONTCARE ) ); - if ( pGlobs ) - aUnoVar = pGlobs->getUnoAny(); - uno::Reference< frame::XModel > xModel( aUnoVar, uno::UNO_QUERY); - if ( xModel.is() ) - xModel->unlockControllers(); - } - } if( bDelInst ) { // #57841 Uno-Objekte, die in RTL-Funktionen gehalten werden, @@ -746,7 +730,6 @@ USHORT SbModule::Run( SbMethod* pMeth ) pINST->nCallLvl--; // Call-Level wieder runter StarBASIC::FatalError( SbERR_STACK_OVERFLOW ); } - if( bDelInst ) { // #57841 Uno-Objekte, die in RTL-Funktionen gehalten werden, |