uigraphics/AknIcon/srvsrc/AknIconSrvUtils.cpp
branchRCL_3
changeset 54 08459e712984
parent 1 ba33815114d6
child 78 0b86c25b743a
--- a/uigraphics/AknIcon/srvsrc/AknIconSrvUtils.cpp	Wed Apr 14 17:02:13 2010 +0300
+++ b/uigraphics/AknIcon/srvsrc/AknIconSrvUtils.cpp	Tue Apr 27 17:41:10 2010 +0300
@@ -53,7 +53,7 @@
     TInt type = aLoader->IconTypeL( aParams.iBitmapId );
     
 #ifdef _NGATESTING        
-    type = aLoader->GetDerivedIconTypeL(type, aParams.iFileName);
+    type = aLoader->GetDerivedIconTypeL(type);
 #endif
     
     // Check if handler is already present, if so then return with same pointer
@@ -91,7 +91,9 @@
         }
 
     TInt type = aLoader->IconTypeL( aIconId );
-
+#ifdef _NGATESTING        
+    type = aLoader->GetDerivedIconTypeL(type);
+#endif
     if ( !aHandler )
         {
         aHandler = AknIconFormatHandlerFactory::NewIconFormatHandlerL( type );