Lines Matching refs:pVar
220 void SbxArray::Put32( SbxVariable* pVar, sal_uInt32 nIdx ) in Put32() argument
226 if( pVar ) in Put32()
229 if( eType != SbxOBJECT || pVar->GetClass() != SbxCLASS_OBJECT ) in Put32()
230 pVar->Convert( eType ); in Put32()
232 if( (SbxVariable*) rRef != pVar ) in Put32()
234 rRef = pVar; in Put32()
240 void SbxArray::Put( SbxVariable* pVar, sal_uInt16 nIdx ) in Put() argument
246 if( pVar ) in Put()
249 if( eType != SbxOBJECT || pVar->GetClass() != SbxCLASS_OBJECT ) in Put()
250 pVar->Convert( eType ); in Put()
252 if( (SbxVariable*) rRef != pVar ) in Put()
254 rRef = pVar; in Put()
293 void SbxArray::Insert32( SbxVariable* pVar, sal_uInt32 nIdx ) in Insert32() argument
299 *((SbxVariableRef*) p) = pVar; in Insert32()
303 if( eType != SbxVARIANT && pVar ) in Insert32()
316 void SbxArray::Insert( SbxVariable* pVar, sal_uInt16 nIdx ) in Insert() argument
321 Insert32( pVar, nIdx ); in Insert()
346 void SbxArray::Remove( SbxVariable* pVar ) in Remove() argument
348 if( pVar ) in Remove()
354 if( *pRef == pVar ) in Remove()
375 SbxVariable* pVar = *pRef1; in Merge() local
376 if( pVar ) in Merge()
378 XubString aName = pVar->GetName(); in Merge()
379 sal_uInt16 nHash = pVar->GetHashCode(); in Merge()
386 *pRef2 = pVar; pRef1 = NULL; in Merge()
413 SbxVariable* pVar = *pRef; in FindUserData() local
414 if( pVar ) in FindUserData()
416 if( pVar->IsVisible() && pVar->GetUserData() == nData ) in FindUserData()
418 p = pVar; in FindUserData()
423 else if( pVar->IsSet( SBX_EXTSEARCH ) ) in FindUserData()
425 switch( pVar->GetClass() ) in FindUserData()
430 sal_uInt16 nOld = pVar->GetFlags(); in FindUserData()
431 pVar->ResetFlag( SBX_GBLSEARCH ); in FindUserData()
432 p = ((SbxObject*) pVar)->FindUserData( nData ); in FindUserData()
433 pVar->SetFlags( nOld ); in FindUserData()
437 p = ((SbxArray*) pVar)->FindUserData( nData ); in FindUserData()
466 SbxVariable* pVar = *pRef; in Find() local
467 if( pVar && pVar->IsVisible() ) in Find()
471 sal_uInt16 nVarHash = pVar->GetHashCode(); in Find()
473 && ( t == SbxCLASS_DONTCARE || pVar->GetClass() == t ) in Find()
474 && ( pVar->GetName().EqualsIgnoreCaseAscii( rName ) ) ) in Find()
476 p = pVar; in Find()
481 else if( bExtSearch && pVar->IsSet( SBX_EXTSEARCH ) ) in Find()
483 switch( pVar->GetClass() ) in Find()
488 sal_uInt16 nOld = pVar->GetFlags(); in Find()
489 pVar->ResetFlag( SBX_GBLSEARCH ); in Find()
490 p = ((SbxObject*) pVar)->Find( rName, t ); in Find()
491 pVar->SetFlags( nOld ); in Find()
495 p = ((SbxArray*) pVar)->Find( rName, t ); in Find()
523 SbxVariable* pVar = (SbxVariable*) Load( rStrm ); in LoadData() local
524 if( pVar ) in LoadData()
527 rRef = pVar; in LoadData()
568 void SbxArray::PutDirect( SbxVariable* pVar, sal_uInt32 nIdx ) in PutDirect() argument
571 rRef = pVar; in PutDirect()