diff options
author | Arnaud Versini <arnaud.versini@gmail.com> | 2016-01-15 23:05:31 +0100 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-01-16 17:06:26 +0000 |
commit | 1ae5ceccb818b46f36433c7820e18039f13e56ac (patch) | |
tree | 64276542feac924efc8a880bfe4a9e5f9f27f5f8 /basic/source/basmgr | |
parent | 9bc2f3de8672e812f3a67541c6d7069b434a7e42 (diff) |
BASIC : Remove useless methods in StarBasic
Change-Id: I9e8ce92b967ee9c9485b7af15280f6a212ff599d
Reviewed-on: https://gerrit.libreoffice.org/21498
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'basic/source/basmgr')
-rw-r--r-- | basic/source/basmgr/basmgr.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/basic/source/basmgr/basmgr.cxx b/basic/source/basmgr/basmgr.cxx index c5f2f3ea9612..c4aa170a5551 100644 --- a/basic/source/basmgr/basmgr.cxx +++ b/basic/source/basmgr/basmgr.cxx @@ -225,10 +225,10 @@ void BasMgrContainerListenerImpl::addLibraryModulesImpl( BasicManager* pMgr, { ModuleInfo mInfo = xVBAModuleInfo->getModuleInfo( aModuleName ); OSL_TRACE("#addLibraryModulesImpl - aMod"); - pLib->MakeModule32( aModuleName, mInfo, aMod ); + pLib->MakeModule( aModuleName, mInfo, aMod ); } else - pLib->MakeModule32( aModuleName, aMod ); + pLib->MakeModule( aModuleName, aMod ); } pLib->SetModified( false ); @@ -284,10 +284,10 @@ void SAL_CALL BasMgrContainerListenerImpl::elementInserted( const container::Con if ( xVBAModuleInfo.is() && xVBAModuleInfo->hasModuleInfo( aName ) ) { ModuleInfo mInfo = xVBAModuleInfo->getModuleInfo( aName ); - pLib->MakeModule32( aName, mInfo, aMod ); + pLib->MakeModule( aName, mInfo, aMod ); } else - pLib->MakeModule32( aName, aMod ); + pLib->MakeModule( aName, aMod ); pLib->SetModified( false ); } } @@ -315,7 +315,7 @@ void SAL_CALL BasMgrContainerListenerImpl::elementReplaced( const container::Con if( pMod ) pMod->SetSource32( aMod ); else - pLib->MakeModule32( aName, aMod ); + pLib->MakeModule( aName, aMod ); pLib->SetModified( false ); } @@ -1111,7 +1111,7 @@ void BasicManager::CheckModules( StarBASIC* pLib, bool bReference ) DBG_ASSERT( pModule, "Module not received!" ); if ( !pModule->IsCompiled() && !StarBASIC::GetErrorCode() ) { - StarBASIC::Compile( pModule ); + pModule->Compile(); } } @@ -1879,7 +1879,7 @@ void ModuleContainer_Impl::insertByName( const OUString& aName, const uno::Any& } uno::Reference< script::XStarBasicModuleInfo > xMod; aElement >>= xMod; - mpLib->MakeModule32( aName, xMod->getSource() ); + mpLib->MakeModule( aName, xMod->getSource() ); } void ModuleContainer_Impl::removeByName( const OUString& Name ) @@ -2286,7 +2286,7 @@ void SAL_CALL StarBasicAccess_Impl::addModule DBG_ASSERT( pLib, "XML Import: Lib for module unknown"); if( pLib ) { - pLib->MakeModule32( ModuleName, Source ); + pLib->MakeModule( ModuleName, Source ); } } |