equal
deleted
inserted
replaced
313 } |
313 } |
314 |
314 |
315 // Don't set blank icon |
315 // Don't set blank icon |
316 if ( aIconId != KAknsIIDQgnStatBtBlank ) |
316 if ( aIconId != KAknsIIDQgnStatBtBlank ) |
317 { |
317 { |
|
318 ASSERT ( iconId < KSindNumberOfIcons ); |
318 TRAP_IGNORE( |
319 TRAP_IGNORE( |
319 AknsUtils::CreateIconL( skin, aIconId, bitmap, mask, fileName, |
320 AknsUtils::CreateIconL( skin, aIconId, bitmap, mask, fileName, |
320 KBitmapId[ iconId ], KMaskId[ iconId ] ); |
321 KBitmapId[ iconId ], KMaskId[ iconId ] ); |
321 CleanupStack::PushL( bitmap ); |
322 CleanupStack::PushL( bitmap ); |
322 CleanupStack::PushL( mask ); |
323 CleanupStack::PushL( mask ); |