Lines Matching refs:pLib
201 StarBASIC* pLib = in insertLibraryImpl() local
204 DBG_ASSERT( pLib, "XML Import: Basic library could not be created"); in insertLibraryImpl()
230 StarBASIC* pLib = pMgr->GetLib( aLibName ); in addLibraryModulesImpl() local
231 DBG_ASSERT( pLib, "BasMgrContainerListenerImpl::addLibraryModulesImpl: Unknown lib!"); in addLibraryModulesImpl()
232 if( pLib ) in addLibraryModulesImpl()
246 pLib->MakeModule32( aModuleName, mInfo, aMod ); in addLibraryModulesImpl()
249 pLib->MakeModule32( aModuleName, aMod ); in addLibraryModulesImpl()
253 pLib->SetModified( sal_False ); in addLibraryModulesImpl()
283 StarBASIC* pLib = mpMgr->GetLib( aName ); in elementInserted() local
284 if ( pLib ) in elementInserted()
288 pLib->SetVBAEnabled( xVBACompat->getVBACompatibilityMode() ); in elementInserted()
294 StarBASIC* pLib = mpMgr->GetLib( maLibName ); in elementInserted() local
295 DBG_ASSERT( pLib, "BasMgrContainerListenerImpl::elementInserted: Unknown lib!"); in elementInserted()
296 if( pLib ) in elementInserted()
298 SbModule* pMod = pLib->FindModule( aName ); in elementInserted()
307 pLib->MakeModule32( aName, mInfo, aMod ); in elementInserted()
310 pLib->MakeModule32( aName, aMod ); in elementInserted()
311 pLib->SetModified( sal_False ); in elementInserted()
333 StarBASIC* pLib = mpMgr->GetLib( maLibName ); in elementReplaced() local
334 if( pLib ) in elementReplaced()
336 SbModule* pMod = pLib->FindModule( aName ); in elementReplaced()
343 pLib->MakeModule32( aName, aMod ); in elementReplaced()
345 pLib->SetModified( sal_False ); in elementReplaced()
362 StarBASIC* pLib = mpMgr->GetLib( aName ); in elementRemoved() local
363 if( pLib ) in elementRemoved()
371 StarBASIC* pLib = mpMgr->GetLib( maLibName ); in elementRemoved() local
372 SbModule* pMod = pLib ? pLib->FindModule( aName ) : NULL; in elementRemoved()
375 pLib->Remove( pMod ); in elementRemoved()
376 pLib->SetModified( sal_False ); in elementRemoved()
845 StarBASIC* pLib = pBasLibInfo->GetLib(); in SetLibraryContainerInfo() local
846 if( !pLib ) in SetLibraryContainerInfo()
850 pLib = pBasLibInfo->GetLib(); in SetLibraryContainerInfo()
852 if( pLib ) in SetLibraryContainerInfo()
854 copyToLibraryContainer( pLib, mpImpl->maContainerInfo ); in SetLibraryContainerInfo()
862 ( pLib->GetName(), pBasLibInfo->GetPassword() ); in SetLibraryContainerInfo()
1318 void BasicManager::CheckModules( StarBASIC* pLib, sal_Bool bReference ) const in CheckModules() argument
1320 if ( !pLib ) in CheckModules()
1323 sal_Bool bModified = pLib->IsModified(); in CheckModules()
1325 for ( sal_uInt16 nMod = 0; nMod < pLib->GetModules()->Count(); nMod++ ) in CheckModules()
1327 SbModule* pModule = (SbModule*)pLib->GetModules()->Get( nMod ); in CheckModules()
1330 pLib->Compile( pModule ); in CheckModules()
1338 pLib->SetModified( sal_False ); in CheckModules()
1510 StarBASIC* pLib = GetLib( 0 ); in GetStdLib() local
1511 return pLib; in GetStdLib()
1610 StarBASIC* pLib = GetLib( nLib ); in LoadLib() local
1611 if ( pLib ) in LoadLib()
1614 GetStdLib()->Insert( pLib ); in LoadLib()
1615 pLib->SetFlag( SBX_EXTSEARCH ); in LoadLib()
1650 StarBASIC* pLib = GetLib( rLibName ); in CreateLib() local
1651 if( !pLib ) in CreateLib()
1658 pLib = AddLib( *xStorage, rLibName, sal_True ); in CreateLib()
1670 DBG_ASSERT( pLib, "XML Import: Linked basic library could not be loaded"); in CreateLib()
1674 pLib = CreateLib( rLibName ); in CreateLib()
1677 BasicLibInfo* pLibInfo = FindLibInfo( pLib ); in CreateLib()
1683 return pLib; in CreateLib()
1752 StarBASIC* pLib = pInfo->GetLib(); in SetFlagToAllLibs() local
1753 if ( pLib ) in SetFlagToAllLibs()
1756 pLib->SetFlag( nFlag ); in SetFlagToAllLibs()
1758 pLib->ResetFlag( nFlag ); in SetFlagToAllLibs()
1887 StarBASIC* pLib = i_manager->GetLib( nLib ); in lcl_queryMacro() local
1888 if( !pLib ) in lcl_queryMacro()
1891 pLib = i_manager->GetLib( nLib ); in lcl_queryMacro()
1894 if( pLib ) in lcl_queryMacro()
1896 sal_uInt16 nModCount = pLib->GetModules()->Count(); in lcl_queryMacro()
1899 SbModule* pMod = (SbModule*)pLib->GetModules()->Get( nMod ); in lcl_queryMacro()
2071 ModuleContainer_Impl( StarBASIC* pLib ) in ModuleContainer_Impl() argument
2072 :mpLib( pLib ) {} in ModuleContainer_Impl()
2216 DialogContainer_Impl( StarBASIC* pLib ) in DialogContainer_Impl() argument
2217 :mpLib( pLib ) {} in DialogContainer_Impl()
2425 StarBASIC* pLib = mpMgr->GetLib( aName ); in getByName() local
2428 (XNameContainer*)new ModuleContainer_Impl( pLib ); in getByName()
2431 (XNameContainer*)new DialogContainer_Impl( pLib ); in getByName()
2433 BasicLibInfo* pLibInfo = mpMgr->FindLibInfo( pLib ); in getByName()
2499 StarBASIC* pLib = mpMgr->GetLib( Name ); in removeByName() local
2500 if( !pLib ) in removeByName()
2556 StarBASIC* pLib = in createLibrary() local
2559 DBG_ASSERT( pLib, "XML Import: Basic library could not be created"); in createLibrary()
2572 StarBASIC* pLib = mpMgr->GetLib( LibraryName ); in addModule() local
2573 DBG_ASSERT( pLib, "XML Import: Lib for module unknown"); in addModule()
2574 if( pLib ) in addModule()
2575 pLib->MakeModule32( ModuleName, Source ); in addModule()