equal
deleted
inserted
replaced
285 RArray<TInt> parentArray; |
285 RArray<TInt> parentArray; |
286 CleanupClosePushL( parentArray ); |
286 CleanupClosePushL( parentArray ); |
287 iStorage->GetParentsIdsL( id, parentArray ); |
287 iStorage->GetParentsIdsL( id, parentArray ); |
288 for( TInt i = 0; i < iHandlerNotifier.Count(); i++ ) |
288 for( TInt i = 0; i < iHandlerNotifier.Count(); i++ ) |
289 { |
289 { |
|
290 resultArray[0]->SetFlags( |
|
291 resultArray[0]->GetFlags() | EUsed ); |
290 iHandlerNotifier[i]->EntryChanged( resultArray[0], |
292 iHandlerNotifier[i]->EntryChanged( resultArray[0], |
291 EUpdateChangeType, |
293 EUpdateChangeType, |
292 parentArray ); |
294 parentArray ); |
293 } |
295 } |
294 CleanupStack::PopAndDestroy( &parentArray ); |
296 CleanupStack::PopAndDestroy( &parentArray ); |
442 } |
444 } |
443 result->SetTableNameL( KLocalizationCaEntry ); |
445 result->SetTableNameL( KLocalizationCaEntry ); |
444 result->SetAttributeNameL( KLocalizationEnText ); |
446 result->SetAttributeNameL( KLocalizationEnText ); |
445 result->SetQmFilenameL( qmFile ); |
447 result->SetQmFilenameL( qmFile ); |
446 result->SetRowId( aEntry->GetId() ? 0 : aEntry->GetId() ); // must be added when present |
448 result->SetRowId( aEntry->GetId() ? 0 : aEntry->GetId() ); // must be added when present |
|
449 CleanupStack::Pop( result ); |
447 } |
450 } |
448 else |
451 else |
449 { |
452 { |
450 if (translatedString) |
453 CleanupStack::PopAndDestroy(translatedString); |
451 { |
454 CleanupStack::PopAndDestroy(result); |
452 CleanupStack::PopAndDestroy(translatedString); |
455 result = NULL; |
453 } |
|
454 } |
456 } |
455 CleanupStack::Pop( result ); |
|
456 } |
457 } |
457 } |
458 } |
458 CleanupStack::PopAndDestroy( &title ); |
459 CleanupStack::PopAndDestroy( &title ); |
459 } |
460 } |
460 return result; |
461 return result; |
491 CleanupStack::PopAndDestroy( translatedString ); |
492 CleanupStack::PopAndDestroy( translatedString ); |
492 result->SetTableNameL( KLocalizationCaEntry ); |
493 result->SetTableNameL( KLocalizationCaEntry ); |
493 result->SetAttributeNameL( KLocalizationEnDescription ); |
494 result->SetAttributeNameL( KLocalizationEnDescription ); |
494 result->SetQmFilenameL( qmFile ); |
495 result->SetQmFilenameL( qmFile ); |
495 result->SetRowId( aEntry->GetId() ? 0 : aEntry->GetId() ); // must be added when present |
496 result->SetRowId( aEntry->GetId() ? 0 : aEntry->GetId() ); // must be added when present |
|
497 CleanupStack::Pop( result ); |
496 } |
498 } |
497 else |
499 else |
498 { |
500 { |
499 CleanupStack::PopAndDestroy( translatedString ); |
501 CleanupStack::PopAndDestroy( translatedString ); |
|
502 CleanupStack::PopAndDestroy( result ); |
|
503 result = NULL; |
500 } |
504 } |
501 CleanupStack::Pop( result ); |
505 |
502 } |
506 } |
503 } |
507 } |
504 CleanupStack::PopAndDestroy( &description ); |
508 CleanupStack::PopAndDestroy( &description ); |
505 } |
509 } |
|
510 |
506 return result; |
511 return result; |
507 } |
512 } |
508 |
513 |
509 // --------------------------------------------------------- |
514 // --------------------------------------------------------- |
510 // |
515 // |