diff -r fcdfafb36fe7 -r aecbbf00d063 lafagnosticuifoundation/bmpanimation/tef/Tanctl.cpp --- 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); } }