phonebookui/Phonebook2/remotecontactlookup/engine/src/cpbkxrclsearchresultlistbox.cpp
branchRCL_3
changeset 23 5586b4d2ec3e
parent 21 b3431bff8c19
child 64 c1e8ba0c2b16
--- a/phonebookui/Phonebook2/remotecontactlookup/engine/src/cpbkxrclsearchresultlistbox.cpp	Wed Mar 31 21:13:53 2010 +0300
+++ b/phonebookui/Phonebook2/remotecontactlookup/engine/src/cpbkxrclsearchresultlistbox.cpp	Wed Apr 14 15:45:35 2010 +0300
@@ -247,18 +247,12 @@
         ptr->iHighlightedTextColor = iHighlightColor;
         }        
 
-    // Disable AVKON skinning so that our own color definitions apply
-    TBool skinEnabled = AknsUtils::AvkonSkinEnabled();
-    // Safe to ignore error
-    TRAP_IGNORE( AknsUtils::SetAvkonSkinEnabledL( EFalse ) );
     CColumnListBoxItemDrawer::DrawItemText(
         aItemIndex,
         aItemTextRect,
         aItemIsCurrent,
         aViewIsEmphasized,
         aItemIsSelected );
-    // Safe to ignore error
-    TRAP_IGNORE( AknsUtils::SetAvkonSkinEnabledL( skinEnabled ) );
     }
 
 
@@ -270,19 +264,18 @@
 ////////////////////////////////////////////////////////////////////////////
 // CPbkxRclSearchResultListView
 ////////////////////////////////////////////////////////////////////////////
-
 // ---------------------------------------------------------------------------
 // CPbkxRclSearchResultListView::DrawEmptyList
 // ---------------------------------------------------------------------------
 //
 void CPbkxRclSearchResultListView::DrawEmptyList(const TRect &aClientRect) const
     {
-    // Disable AVKON skinning so that our own color definitions apply
-    TBool skinEnabled = AknsUtils::AvkonSkinEnabled();
-    // Safe to ignore error
-    TRAP_IGNORE( AknsUtils::SetAvkonSkinEnabledL( EFalse ) );
-    CAknColumnListBoxView::DrawEmptyList( aClientRect );
-    // Safe to ignore error
-    TRAP_IGNORE( AknsUtils::SetAvkonSkinEnabledL( skinEnabled ) );
+//    // Disable AVKON skinning so that our own color definitions apply
+//    TBool skinEnabled = AknsUtils::AvkonSkinEnabled();
+//    // Safe to ignore error
+//    TRAP_IGNORE( AknsUtils::SetAvkonSkinEnabledL( EFalse ) );
+//    CAknColumnListBoxView::DrawEmptyList( aClientRect );
+//    // Safe to ignore error
+//    TRAP_IGNORE( AknsUtils::SetAvkonSkinEnabledL( skinEnabled ) );
     }