equal
deleted
inserted
replaced
182 aImages.iImages[ EPhCltExtCountryCodeIndex ], |
182 aImages.iImages[ EPhCltExtCountryCodeIndex ], |
183 aImages.iImages[ EPhCltExtNetworkCodeIndex ], |
183 aImages.iImages[ EPhCltExtNetworkCodeIndex ], |
184 ( TPhCltExtOperatorLogoType ) |
184 ( TPhCltExtOperatorLogoType ) |
185 aImages.iImages[ EPhCltExtLogoTypeIndex ], |
185 aImages.iImages[ EPhCltExtLogoTypeIndex ], |
186 bitMap ); |
186 bitMap ); |
187 iOperatorLogos.Append( logo ); |
187 CleanupStack::PushL(logo); |
|
188 iOperatorLogos.AppendL( logo ); |
|
189 CleanupStack::Pop(logo); |
188 } |
190 } |
189 } |
191 } |
190 |
192 |
191 // ----------------------------------------------------------------------------- |
193 // ----------------------------------------------------------------------------- |
192 // RPhCltImageHandler::CopyStillsL |
194 // RPhCltImageHandler::CopyStillsL |
196 // |
198 // |
197 void RPhCltImageHandler::CopyStillsL( TPhCltImageArray& aImages ) |
199 void RPhCltImageHandler::CopyStillsL( TPhCltImageArray& aImages ) |
198 { |
200 { |
199 // Remove all first. |
201 // Remove all first. |
200 iVTBitMaps.ResetAndDestroy(); |
202 iVTBitMaps.ResetAndDestroy(); |
201 |
203 iVTBitMaps.ReserveL(aImages.iImageCount); |
202 for ( TInt i = 0 ; i < aImages.iImageCount; i ++ ) |
204 for ( TInt i = 0 ; i < aImages.iImageCount; i ++ ) |
203 { |
205 { |
204 CFbsBitmap* bitMap = |
206 CFbsBitmap* bitMap = |
205 CreateBitMapL( aImages.iImages[ i ] ); |
207 CreateBitMapL( aImages.iImages[ i ] ); |
206 iVTBitMaps.Append( bitMap ); |
208 CleanupStack::PushL( bitMap ); |
|
209 iVTBitMaps.AppendL( bitMap ); |
|
210 CleanupStack::Pop(bitMap); |
207 } |
211 } |
208 } |
212 } |
209 |
213 |
210 // ----------------------------------------------------------------------------- |
214 // ----------------------------------------------------------------------------- |
211 // RPhCltImageHandler::CreateBitMapL |
215 // RPhCltImageHandler::CreateBitMapL |