startupservices/SplashScreen/src/SplashScreen.cpp
changeset 77 b01c07dfcf84
parent 72 56a7be608841
equal deleted inserted replaced
74:1505405bc645 77:b01c07dfcf84
   389     TInt err( KErrNone );
   389     TInt err( KErrNone );
   390 
   390 
   391 	CWindow::ConstructL(aRect, aParent);
   391 	CWindow::ConstructL(aRect, aParent);
   392 
   392 
   393     TParse* fp = new(ELeave) TParse();
   393     TParse* fp = new(ELeave) TParse();
       
   394 	CleanupStack::PushL( fp );
       
   395 
   394     fp->Set(KSplashBitmapName, &KDC_APP_BITMAP_DIR, NULL);
   396     fp->Set(KSplashBitmapName, &KDC_APP_BITMAP_DIR, NULL);
   395     TRACES1("CMainWindow::ConstructL(): Load Bitmap from %S", &fp->FullName());
   397     TRACES1("CMainWindow::ConstructL(): Load Bitmap from %S", &fp->FullName());
   396 
   398 
   397     RFs fs;
   399     RFs fs;
   398     TInt thisTry = 0;
   400     TInt thisTry = 0;
   412     else
   414     else
   413         {
   415         {
   414         TRACES("CMainWindow::ConstructL(): Image not found");
   416         TRACES("CMainWindow::ConstructL(): Image not found");
   415         }
   417         }
   416 
   418 
   417     delete fp;
   419    
       
   420 	CleanupStack::PopAndDestroy(fp);
   418 
   421 
   419     TRACES("CMainWindow::ConstructL(): End");
   422     TRACES("CMainWindow::ConstructL(): End");
   420 	}
   423 	}
   421 
   424 
   422 
   425