phonebookui/Phonebook2/ccapplication/ccacommlauncherplugin/src/ccappcommlaunchercontacthandler.cpp
--- a/phonebookui/Phonebook2/ccapplication/ccacommlauncherplugin/src/ccappcommlaunchercontacthandler.cpp Wed Apr 14 15:45:35 2010 +0300
+++ b/phonebookui/Phonebook2/ccapplication/ccacommlauncherplugin/src/ccappcommlaunchercontacthandler.cpp Tue Apr 27 16:23:35 2010 +0300
@@ -376,24 +376,26 @@
CCACOMMLAUNCHER_ROMARRAY_SIZE( KCCAppCommLauncherVoiceCallGroup ));
break;
case VPbkFieldTypeSelectorFactory::EUniEditorSelector:
- TInt flags = 0;
- CRepository* key = CRepository::NewL(TUid::Uid(KCRUidPhonebook));
- TInt err = key->Get(KPhonebookLocalVariationFlags, flags);
+ {
+ TInt flags = 0;
+ CRepository* key = CRepository::NewL( TUid::Uid( KCRUidPhonebook ) );
+ TInt err = key->Get( KPhonebookLocalVariationFlags, flags );
- if ( flags & EVPbkLVShowEmailInSendMsg)
- {
- isMatch = FieldArrayAndContactActionMatch(
- aContactField, KCCAppCommLauncherMessageEmailGroup,
- CCACOMMLAUNCHER_ROMARRAY_SIZE( KCCAppCommLauncherMessageEmailGroup ));
- }
- else
- {
- isMatch = FieldArrayAndContactActionMatch(
- aContactField, KCCAppCommLauncherMessageGroup,
- CCACOMMLAUNCHER_ROMARRAY_SIZE( KCCAppCommLauncherMessageGroup ));
- }
- delete key;
- break;
+ if ( flags & EVPbkLVShowEmailInSendMsg )
+ {
+ isMatch = FieldArrayAndContactActionMatch(
+ aContactField, KCCAppCommLauncherMessageEmailGroup,
+ CCACOMMLAUNCHER_ROMARRAY_SIZE( KCCAppCommLauncherMessageEmailGroup ) );
+ }
+ else
+ {
+ isMatch = FieldArrayAndContactActionMatch(
+ aContactField, KCCAppCommLauncherMessageGroup,
+ CCACOMMLAUNCHER_ROMARRAY_SIZE( KCCAppCommLauncherMessageGroup ) );
+ }
+ delete key;
+ }
+ break;
case VPbkFieldTypeSelectorFactory::EEmailEditorSelector:
isMatch = FieldArrayAndContactActionMatch(
aContactField, KCCAppCommLauncherEmailGroup,