mmsharing/mmshui/src/musuisendview.cpp
branchRCL_3
changeset 16 71306c87785a
parent 6 c47a75a8cd72
child 31 33a5d2bbf6fc
--- a/mmsharing/mmshui/src/musuisendview.cpp	Wed Apr 14 15:53:49 2010 +0300
+++ b/mmsharing/mmshui/src/musuisendview.cpp	Tue Apr 27 16:34:06 2010 +0300
@@ -37,7 +37,6 @@
     {
     MUS_LOG( "mus: [MUSUI ]  -> CMusUiSendView::ConstructL" );
     CMusUiGeneralView::ConstructL();
-    iSavedOrientation = MusAppUi()->AppOrientation();
     MUS_LOG( "mus: [MUSUI ]  <- CMusUiSendView::ConstructL" );
     }
 
@@ -62,16 +61,12 @@
     MUS_LOG_TDESC( "mus: [MUSUI ]    -> CMusUiSendView::ManualAddressEntryL: ",
                             aAddress );
      
-    CAknAppUiBase::TAppUiOrientation aOrientation 
-					= CAknAppUiBase::EAppUiOrientationUnspecified;
     
      TBuf<KMusSipAddressMaxLength> address( aAddress );
     if ( SendController() && MusUiDialogUtil::ShowTextQueryDialogL( 
                                     R_MUS_TEXT_ENTER_ADDRESS_DIALOG_PROMPT, 
                                     address ) )
-        {
-        //to get the AppOrientation before sending invatation
-        aOrientation = MusAppUi()->AppOrientation();       
+        {      
         SendController()->InviteL( address );
         }
     else
@@ -81,10 +76,6 @@
         MusAppUi()->HandleExit();
         }
 
-    if( aOrientation != iSavedOrientation)
-    	{
-         SendController()->ChangeOrientationL( iSavedOrientation );
-    	}
     MUS_LOG( "mus: [MUSUI ]  <- CMusUiSendView::ManualAddressEntryL" );
     }