emailuis/emailui/src/ncscomposeview.cpp
changeset 1 12c456ceeff2
parent 0 8466d47a6819
child 2 5253a20d2a1e
--- a/emailuis/emailui/src/ncscomposeview.cpp	Thu Dec 17 08:39:21 2009 +0200
+++ b/emailuis/emailui/src/ncscomposeview.cpp	Thu Jan 07 12:38:38 2010 +0200
@@ -2671,9 +2671,10 @@
 // CNcsComposeView::FetchLogicComplete
 // -----------------------------------------------------------------------------
 //
-void CNcsComposeView::FetchLogicComplete( TComposerFetchState /*aState*/, TInt aError )
+TBool CNcsComposeView::FetchLogicComplete( TComposerFetchState /*aState*/, TInt aError )
 	{
     FUNC_LOG;
+    TBool result = EFalse;
     if ( iFirstStartCompleted ) // Safety
         {
         if ( !aError )
@@ -2686,6 +2687,7 @@
             // something went wrong
             DoSafeExit(ENoSave);
             iMailFetchingErrCode = aError;
+            result = ETrue;
             }
         }
     if ( iFetchWaitDialog && !iFetchDialogCancelled )
@@ -2693,6 +2695,7 @@
         TRAP_IGNORE(iFetchWaitDialog->ProcessFinishedL());
         iFetchWaitDialog = NULL;
         }
+    return result;
 	}
 
 // -----------------------------------------------------------------------------