--- a/lafagnosticuifoundation/cone/src/COEPRIV.CPP Tue Aug 31 15:28:30 2010 +0300
+++ b/lafagnosticuifoundation/cone/src/COEPRIV.CPP Wed Sep 01 12:16:19 2010 +0100
@@ -66,6 +66,8 @@
void CCoeRedrawer::RunL()
{
+ User::LeaveIfError( iStatus.Int() );
+
TWsRedrawEvent redraw;
iWsSession.GetRedraw(redraw);
const TUint handle = redraw.Handle();
@@ -104,3 +106,21 @@
{
iWsSession.RedrawReadyCancel();
}
+
+/**
+ Log the error (debug builds) before panicking.
+ The panic code is consistent with that in CCoeEnv::RunL().
+ */
+TInt CCoeRedrawer::RunError( TInt aError )
+ {
+#ifdef _DEBUG
+ RDebug::Print( _L("CCoeRedrawer's iStatus = %d"), iStatus.Int() );
+#endif
+
+ Panic( ECoePanicWservBlindCommandFailed );
+ aError = KErrNone;
+
+ return aError;
+ }
+
+