equal
deleted
inserted
replaced
68 |
68 |
69 // No Handler found, create one and add to list |
69 // No Handler found, create one and add to list |
70 if ( !aHandler ) |
70 if ( !aHandler ) |
71 { |
71 { |
72 aHandler = AknIconFormatHandlerFactory::NewIconFormatHandlerL( type ); |
72 aHandler = AknIconFormatHandlerFactory::NewIconFormatHandlerL( type ); |
73 aHandlerList.Append( aHandler ); |
73 TInt error = aHandlerList.Append( aHandler ); |
|
74 if (error != KErrNone) |
|
75 { |
|
76 delete aHandler; |
|
77 aHandler = 0; |
|
78 User::Leave(error); |
|
79 } |
|
80 |
74 aHandler->SetAnimated( aAnimated ); |
81 aHandler->SetAnimated( aAnimated ); |
75 } |
82 } |
76 |
83 |
77 return aLoader->IconL( aParams.iBitmapId ); |
84 return aLoader->IconL( aParams.iBitmapId ); |
78 } |
85 } |