uigraphics/AknIcon/src/AknIconLoader.cpp
changeset 50 c6286dcf6040
parent 0 05e9090e2422
--- a/uigraphics/AknIcon/src/AknIconLoader.cpp	Fri Apr 16 16:01:57 2010 +0300
+++ b/uigraphics/AknIcon/src/AknIconLoader.cpp	Mon May 03 13:28:06 2010 +0300
@@ -339,26 +339,12 @@
     iNGADirectory.Copy(aNGATestDirectory);
     }
 
-TInt32 CAknIconLoader::GetDerivedIconTypeL(TInt32 aType, const TDesC & aMifFileName)
+TInt32 CAknIconLoader::GetDerivedIconTypeL(TInt32 aType)
     {
     if (aType != EIconFormatBMP &&
         aType != EIconFormatNVG)
         {
-        if (iConfigIconType != -1)
-            {
-            aType = iConfigIconType;
-            }
-
-        if (aType != EIconFormatNGA)
-            {
-            TInt NGADirectoryLength = iNGADirectory.Length();
-            if ( NGADirectoryLength > 0 && 
-                 NGADirectoryLength < aMifFileName.Length() && 
-                 aMifFileName.Left(NGADirectoryLength).CompareF(iNGADirectory) == 0 )
-                {
                 aType = EIconFormatNGA;
-                }
-            }
         }
     
     return aType;