uigraphics/AknIcon/srvsrc/AknIconSrvUtils.cpp
changeset 50 c6286dcf6040
parent 1 ba33815114d6
child 78 0b86c25b743a
--- a/uigraphics/AknIcon/srvsrc/AknIconSrvUtils.cpp	Fri Apr 16 16:01:57 2010 +0300
+++ b/uigraphics/AknIcon/srvsrc/AknIconSrvUtils.cpp	Mon May 03 13:28:06 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 );