photosgallery/viewframework/commandhandlers/commoncommandhandlers/src/glxcommandhandlerrotate.cpp
branchRCL_3
changeset 14 ce1c7ad1f18b
parent 9 6b87b143d312
child 18 bcb43dc84c44
--- a/photosgallery/viewframework/commandhandlers/commoncommandhandlers/src/glxcommandhandlerrotate.cpp	Fri Mar 12 15:42:44 2010 +0200
+++ b/photosgallery/viewframework/commandhandlers/commoncommandhandlers/src/glxcommandhandlerrotate.cpp	Mon Mar 15 12:40:30 2010 +0200
@@ -209,7 +209,6 @@
             TInt /*aOldIndex*/, MGlxMediaList* /*aList*/)
     {
     TRACER("CGlxCommandHandlerRotate::HandleFocusChangedL");
-    //Not required as we are doing this after each rotation DoPreserveOrientationL();
     DoCleanupRotationParametersL();
     
     iMediaList = NULL;
@@ -462,9 +461,6 @@
         delete iExifWriter;
         iExifWriter = NULL;
         } 
-    //This will be called when there would be a change in Media list focus.
-    //So removing the call from here
-    //DoCleanupRotationParameters();
     }
 // ---------------------------------------------------------------------------
 // DoInitializeRotationParameters
@@ -532,14 +528,10 @@
     command->SetTObjectValueL<TAny*>(KMPXCommandGeneralSessionId, static_cast<TAny*>(this));
     
     //Nitz To Do Initialize cleanup command Just for the respective Media Items
-  //TGlxMediaId itemId= iGlxItem->Id();
-  //  command->SetTObjectValueL<TMPXItemId>(KMPXMediaGeneralId,itemId.Value()); 
     iMediaList->CommandL(*command);
     CleanupStack::PopAndDestroy(command);
     iMediaList->RemoveMediaListObserver(this);
     iAddedObserver=EFalse;
-    //CGlxTextureManager& tm = iUiUtility->GlxTextureManager();
-    //tm.UpdateThumbnailTexture(*iGlxItem);
     iMediaList = NULL;
     iGlxItem = NULL;