emailuis/emailui/src/FreestyleEmailUiCLSMatchObserverInterface.cpp
branchRCL_3
changeset 26 968773a0b6ef
parent 0 8466d47a6819
--- a/emailuis/emailui/src/FreestyleEmailUiCLSMatchObserverInterface.cpp	Wed Sep 01 12:28:57 2010 +0100
+++ b/emailuis/emailui/src/FreestyleEmailUiCLSMatchObserverInterface.cpp	Tue Sep 14 20:48:24 2010 +0300
@@ -259,7 +259,8 @@
 			CleanupStack::PushL( matchSet );
 			
 			// Create display name, this will be used in UI.
-			displayname = TFsEmailUiUtility::CreateDisplayNameLC( firstname, lastname, KNullDesC );
+			displayname = TFsEmailUiUtility::CreateDisplayNameLC( 
+			        firstname, lastname, KNullDesC, iListHandler.UseLastNameFirstOrder() );
 			
 			RArray<TPsMatchLocation> matchLocation;
 			CleanupClosePushL( matchLocation );
@@ -294,7 +295,7 @@
 				// contact does not contain either firstname nor lastname,
 				// the displayname is left empty.
 				displayname = TFsEmailUiUtility::CreateDisplayNameLC(
-					firstname, lastname );
+					firstname, lastname, iListHandler.UseLastNameFirstOrder() );
 				
 				// Create match text field, containing display field and email address
 				HBufC* matchText = HBufC::NewLC( displayname->Length() +