equal
deleted
inserted
replaced
317 case KErrNone : |
317 case KErrNone : |
318 { |
318 { |
319 // CImageDecoder has finished using the data, |
319 // CImageDecoder has finished using the data, |
320 // so we are able to free it. |
320 // so we are able to free it. |
321 SetImageData( NULL ); |
321 SetImageData( NULL ); |
322 iObserver.ImageDecoded( iStatus.Int(), iDecodedBitmap, iDecodedMask ); |
322 iObserver.ImageDecodedL( iStatus.Int(), iDecodedBitmap, iDecodedMask ); |
323 break; |
323 break; |
324 } |
324 } |
325 case KErrUnderflow : |
325 case KErrUnderflow : |
326 { |
326 { |
327 // Decoder did not have enough data to convert. |
327 // Decoder did not have enough data to convert. |
362 PRINT1( _L("Camera => CCamImageDecoder::RunError(%d)"), aError ); |
362 PRINT1( _L("Camera => CCamImageDecoder::RunError(%d)"), aError ); |
363 |
363 |
364 SetImageData( NULL ); |
364 SetImageData( NULL ); |
365 // Leave has occurred in RunL. |
365 // Leave has occurred in RunL. |
366 // Notify observer with error. |
366 // Notify observer with error. |
367 iObserver.ImageDecoded( aError, NULL, NULL ); |
367 TRAP_IGNORE(iObserver.ImageDecodedL( aError, NULL, NULL )); |
368 |
368 |
369 PRINT( _L("Camera <= CCamImageDecoder::RunError") ); |
369 PRINT( _L("Camera <= CCamImageDecoder::RunError") ); |
370 return KErrNone; |
370 return KErrNone; |
371 } |
371 } |
372 |
372 |