Lines Matching refs:pVar
498 if( SbxVariable* pVar = pMod->Find( rClassName, SbxCLASS_OBJECT ) ) in CreateObject() local
500 if( SbUserFormModule* pFormModule = PTR_CAST( SbUserFormModule, pVar->GetObject() ) ) in CreateObject()
535 SbxVariable* pVar = pProps->Get32( i ); in cloneTypeObjectImpl() local
536 SbxProperty* pProp = PTR_CAST( SbxProperty, pVar ); in cloneTypeObjectImpl()
540 SbxDataType eVarType = pVar->GetType(); in cloneTypeObjectImpl()
543 SbxBase* pParObj = pVar->GetObject(); in cloneTypeObjectImpl()
545 SbxDimArray* pDest = new SbxDimArray( pVar->GetType() ); in cloneTypeObjectImpl()
561 sal_uInt16 nSavFlags = pVar->GetFlags(); in cloneTypeObjectImpl()
570 SbxBase* pObjBase = pVar->GetObject(); in cloneTypeObjectImpl()
640 SbxVariable* pVar = pClassMethods->Get32( i ); in TYPEINIT1() local
643 SbIfaceMapperMethod* pIfaceMethod = PTR_CAST( SbIfaceMapperMethod, pVar ); in TYPEINIT1()
646 SbMethod* pMethod = PTR_CAST(SbMethod, pVar ); in TYPEINIT1()
666 SbxVariable* pVar = pClassMethods->Get32( i ); in TYPEINIT1() local
668 SbIfaceMapperMethod* pIfaceMethod = PTR_CAST( SbIfaceMapperMethod, pVar ); in TYPEINIT1()
698 SbxVariable* pVar = pClassProps->Get32( i ); in TYPEINIT1() local
699 SbProcedureProperty* pProcedureProp = PTR_CAST( SbProcedureProperty, pVar ); in TYPEINIT1()
715 SbxProperty* pProp = PTR_CAST( SbxProperty, pVar ); in TYPEINIT1()
890 SbxVariable* pVar = xToUseClassModules->Find( rClassName, SbxCLASS_OBJECT ); in CreateObject() local
892 if( pVar ) in CreateObject()
894 SbModule* pVarMod = (SbModule*)pVar; in CreateObject()
902 SbxVariable* pVar = xClassModules->Find( rClassName, SbxCLASS_DONTCARE ); in FindClass() local
903 SbModule* pMod = pVar ? (SbModule*)pVar : NULL; in FindClass()
1042 SbxVariable* pVar = pObjs->Get( nObj ); in implClearDependingVarsOnDelete() local
1043 StarBASIC* pBasic = PTR_CAST(StarBASIC,pVar); in implClearDependingVarsOnDelete()
1098 void StarBASIC::Insert( SbxVariable* pVar ) in Insert() argument
1100 if( pVar->IsA( TYPE(SbModule) ) ) in Insert()
1102 pModules->Insert( pVar, pModules->Count() ); in Insert()
1103 pVar->SetParent( this ); in Insert()
1104 StartListening( pVar->GetBroadcaster(), sal_True ); in Insert()
1109 SbxObject::Insert( pVar ); in Insert()
1110 if( !bWasModified && pVar->IsSet( SBX_DONTSTORE ) ) in Insert()
1115 void StarBASIC::Remove( SbxVariable* pVar ) in Remove() argument
1117 if( pVar->IsA( TYPE(SbModule) ) ) in Remove()
1120 SbxVariableRef xVar = pVar; in Remove()
1121 pModules->Remove( pVar ); in Remove()
1122 pVar->SetParent( 0 ); in Remove()
1123 EndListening( pVar->GetBroadcaster() ); in Remove()
1126 SbxObject::Remove( pVar ); in Remove()
1271 SbxVariable* pVar = pObjs->Get( nObj ); in InitAllModules() local
1272 StarBASIC* pBasic = PTR_CAST(StarBASIC,pVar); in InitAllModules()
1292 SbxVariable* pVar = pObjs->Get( nObj ); in DeInitAllModules() local
1293 StarBASIC* pBasic = PTR_CAST(StarBASIC,pVar); in DeInitAllModules()
1306 SbxBase* pVar = xProps->Get( nProp ); in ClearGlobalVars() local
1307 pVar->Clear(); in ClearGlobalVars()
1407 SbxVariable* pVar = NULL; in FindVarInCurrentScopy() local
1412 pVar = PTR_CAST(SbxVariable,pSbx); in FindVarInCurrentScopy()
1414 if( pVar ) in FindVarInCurrentScopy()
1416 return pVar; in FindVarInCurrentScopy()
1915 SbxVariable* pVar = pObjs->Get( nObj ); in LoadData() local
1916 StarBASIC* pBasic = PTR_CAST( StarBASIC, pVar ); in LoadData()
1917 ppDeleteTab[nObj] = pBasic ? NULL : pVar; in LoadData()
1921 SbxVariable* pVar = ppDeleteTab[nObj]; in LoadData() local
1922 if( pVar ) in LoadData()
1923 pObjs->Remove( pVar ); in LoadData()
2124 SbxVariable* pVar = p->GetVar(); in SFX_NOTIFY() local
2125 SbxArray* pArg = pVar->GetParameters(); in SFX_NOTIFY()
2126 XubString aVarName( pVar->GetName() ); in SFX_NOTIFY()
2129 if( pVar->GetHashCode() == nCountHash in SFX_NOTIFY()
2131 pVar->PutLong( xItemArray->Count32() ); in SFX_NOTIFY()
2132 else if( pVar->GetHashCode() == nAddHash in SFX_NOTIFY()
2135 else if( pVar->GetHashCode() == nItemHash in SFX_NOTIFY()
2138 else if( pVar->GetHashCode() == nRemoveHash in SFX_NOTIFY()
2147 if( pVar->GetHashCode() == nAddHash in SFX_NOTIFY()
2149 pVar->SetInfo( xAddInfo ); in SFX_NOTIFY()
2150 else if( pVar->GetHashCode() == nItemHash in SFX_NOTIFY()
2152 pVar->SetInfo( xItemInfo ); in SFX_NOTIFY()
2175 SbxVariable* pVar = xItemArray->Get32( i ); in implGetIndexForName() local
2176 if( pVar->GetHashCode() == nNameHash && in implGetIndexForName()
2177 pVar->GetName().EqualsIgnoreCaseAscii( rName ) ) in implGetIndexForName()