camerauis/cameraapp/generic/src/CamNewFileService.cpp
branchRCL_3
changeset 22 f54ad444594d
parent 16 53c8aa5d97a3
--- a/camerauis/cameraapp/generic/src/CamNewFileService.cpp	Thu Jul 15 18:18:07 2010 +0300
+++ b/camerauis/cameraapp/generic/src/CamNewFileService.cpp	Thu Aug 19 09:36:57 2010 +0300
@@ -69,13 +69,13 @@
   if ( !iCompleted && iObserver )
     {	    
     TRAP_IGNORE( iObserver->HandleCompletedNewServiceL( EFalse ) );
-    CCamAppUi* appUi = static_cast< CCamAppUi* >( CEikonEnv::Static()->EikAppUi() );
-    if ( appUi )
-        {
-        // Tell appui 'this' is not valid MCamEmbeddedObserver pointer anymore
-        appUi->SetEmbeddedObserver( NULL );
-        }
     }
+  CCamAppUi* appUi = static_cast< CCamAppUi* >( CEikonEnv::Static()->EikAppUi() );
+  if ( appUi )
+      {
+      // Tell appui 'this' is not valid MCamEmbeddedObserver pointer anymore
+      appUi->SetEmbeddedObserver( NULL );
+      }
   PRINT( _L("Camera <= ~CCamNewFileService") );
   }