contentpublishingsrv/contentpublishingutils/contentpublishingmap/src/cpliwmap.cpp
equal
deleted
inserted
replaced
331 const CLiwList* sourceList = paramForValue->Value().AsList(); |
331 const CLiwList* sourceList = paramForValue->Value().AsList(); |
332 TInt count = sourceList->Count(); |
332 TInt count = sourceList->Count(); |
333 for (TInt i = 0; i < count; i++) |
333 for (TInt i = 0; i < count; i++) |
334 { |
334 { |
335 TLiwVariant trigger; |
335 TLiwVariant trigger; |
|
336 trigger.PushL(); |
336 sourceList->AtL(i,trigger); |
337 sourceList->AtL(i,trigger); |
337 if (trigger.TypeId() == EVariantTypeDesC8) |
338 if (trigger.TypeId() == EVariantTypeDesC8) |
338 { |
339 { |
339 list->AppendL(trigger); |
340 list->AppendL(trigger); |
340 } |
341 } |
345 desc8.Assign( EscapeUtils::ConvertFromUnicodeToUtf8L( |
346 desc8.Assign( EscapeUtils::ConvertFromUnicodeToUtf8L( |
346 trigger.AsDes() ) ); |
347 trigger.AsDes() ) ); |
347 list->AppendL(TLiwVariant(desc8)); |
348 list->AppendL(TLiwVariant(desc8)); |
348 CleanupStack::PopAndDestroy( &desc8 ); |
349 CleanupStack::PopAndDestroy( &desc8 ); |
349 } |
350 } |
|
351 CleanupStack::PopAndDestroy(&trigger); |
350 } |
352 } |
351 } |
353 } |
352 } |
354 } |
353 return list; |
355 return list; |
354 } |
356 } |