lafagnosticuifoundation/bmpanimation/tef/Tanctl.cpp
branchRCL_3
changeset 19 aecbbf00d063
parent 9 0aa5fbdfbc30
child 20 d48ab3b357f1
--- a/lafagnosticuifoundation/bmpanimation/tef/Tanctl.cpp	Thu Aug 19 10:11:06 2010 +0300
+++ b/lafagnosticuifoundation/bmpanimation/tef/Tanctl.cpp	Tue Aug 31 15:28:30 2010 +0300
@@ -134,14 +134,11 @@
 	const TInt maskId = aFramesReader.ReadInt16();
 	if (bmpId >= 0)
 		{
-        // Create a bitmap with no error dialog - the 3rd argument of CEikonEnv::CreateBitmapL is to decide whether
-        // or not to show a error dialog on failure. With this option, it leaves with KErrExtendedWkithText if the creation of 
-        // bitmap fails. For this test we do not need this error dialog and we expect the raw error code (i.e. KErrNoMemory).
-		CFbsBitmap* bitmap = iEikonEnv->CreateBitmapL(aFileName, bmpId, EFalse);
+		CFbsBitmap* bitmap = iEikonEnv->CreateBitmapL(aFileName, bmpId);
 		frameData->SetBitmap(bitmap);
 		if (maskId >= 0)
 			{
-			CFbsBitmap* mask = iEikonEnv->CreateBitmapL(aFileName, maskId, EFalse);
+			CFbsBitmap* mask = iEikonEnv->CreateBitmapL(aFileName, maskId);
 			frameData->SetMask(mask);
 			}
 		}