phonebookui/Phonebook2/remotecontactlookup/engine/src/cpbkxrclsearchresultlistbox.cpp
branchRCL_3
changeset 21 b3431bff8c19
parent 0 e686773b3f54
child 23 5586b4d2ec3e
--- a/phonebookui/Phonebook2/remotecontactlookup/engine/src/cpbkxrclsearchresultlistbox.cpp	Mon Mar 15 12:39:26 2010 +0200
+++ b/phonebookui/Phonebook2/remotecontactlookup/engine/src/cpbkxrclsearchresultlistbox.cpp	Wed Mar 31 21:13:53 2010 +0300
@@ -145,7 +145,14 @@
 //
 CListBoxView* CPbkxRclSearchResultListBox::MakeViewClassInstanceL()
     {
-    return ( new (ELeave) CPbkxRclSearchResultListView() );
+
+//This strange old override below (returning class CPbkxRclSearchResultListView) causes on hardware empty 
+//list text not to draw. Most likely no need for this kind override at all.
+//To fix draw this override is not used (however is part of pbk2rclengine api
+//and therefore not removed completely)
+//    return ( new (ELeave) CPbkxRclSearchResultListView() );
+
+    return ( new (ELeave) CAknColumnListBoxView() );    
     }
 
 ////////////////////////////////////////////////////////////////////////////
@@ -254,6 +261,12 @@
     TRAP_IGNORE( AknsUtils::SetAvkonSkinEnabledL( skinEnabled ) );
     }
 
+
+
+//This strange old override below (CPbkxRclSearchResultListView) causes on hardware empty 
+//list text not to draw. Most likely no need for this kind override at all.
+//To fix draw this override is not used (however is part of pbk2rclengine api
+//and therefore not removed completely)
 ////////////////////////////////////////////////////////////////////////////
 // CPbkxRclSearchResultListView
 ////////////////////////////////////////////////////////////////////////////