diff -r 6ef40bf8fd34 -r 08459e712984 uigraphics/AknIcon/srvsrc/AknIconSrvUtils.cpp --- 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 );