equal
deleted
inserted
replaced
403 |
403 |
404 CArrayFix<TUint32>* array = |
404 CArrayFix<TUint32>* array = |
405 new(ELeave) CArrayFixFlat<TUint32>( Max( 1, contexts.CountL() ) ); |
405 new(ELeave) CArrayFixFlat<TUint32>( Max( 1, contexts.CountL() ) ); |
406 CleanupStack::PushL( array ); |
406 CleanupStack::PushL( array ); |
407 FTRACE(RDebug::Print(_L("[Provisioning] CWPMultiContextManager::ContextUidsL: count (%d)"), contexts.CountL())); |
407 FTRACE(RDebug::Print(_L("[Provisioning] CWPMultiContextManager::ContextUidsL: count (%d)"), contexts.CountL())); |
408 contexts.FirstL(); |
408 if ( contexts.FirstL()) |
409 while( contexts.AtRow() ) |
409 { |
|
410 while( contexts.AtRow() ) |
410 { |
411 { |
411 FLOG( _L( "[Provisioning] CWPMultiContextManager::ContextUidsL contexts.GetL()" ) ); |
412 FLOG( _L( "[Provisioning] CWPMultiContextManager::ContextUidsL contexts.GetL()" ) ); |
412 contexts.GetL(); |
413 contexts.GetL(); |
413 |
414 |
414 TUint32 uid( contexts.ColUint32( uidCol ) ); |
415 TUint32 uid( contexts.ColUint32( uidCol ) ); |
415 array->AppendL( uid ); |
416 array->AppendL( uid ); |
416 contexts.NextL(); |
417 contexts.NextL(); |
417 } |
418 } |
|
419 } |
418 |
420 |
419 CleanupStack::Pop(); // array |
421 CleanupStack::Pop(); // array |
420 CleanupStack::PopAndDestroy(); // contexts |
422 CleanupStack::PopAndDestroy(); // contexts |
421 |
423 |
422 return array; |
424 return array; |