diff -r ce1c7ad1f18b -r bcb43dc84c44 photosgallery/viewframework/commandhandlers/commoncommandhandlers/src/glxcommandhandlerrotate.cpp --- a/photosgallery/viewframework/commandhandlers/commoncommandhandlers/src/glxcommandhandlerrotate.cpp Mon Mar 15 12:40:30 2010 +0200 +++ b/photosgallery/viewframework/commandhandlers/commoncommandhandlers/src/glxcommandhandlerrotate.cpp Wed Mar 31 21:31:03 2010 +0300 @@ -373,7 +373,6 @@ return finalOrientation; } - //Nitz subst code TInt rotOffset = iRotationAngle/90; TInt isOrientationOdd = aInitialOrientation % 2; TInt initStateIndex = 0; @@ -429,9 +428,6 @@ HBufC8* ModifiedexifData=NULL; //need only first KGlxMaxExifSize bytes of data as exif cannot bypass this size TRAPD(err,ModifiedexifData = iExifWriter->WriteDataL(iExifData->Des())); - //Nitz To-do Write only first KGlxMaxExifSize bytes to the file - //It currently fails in cases of JPEG files without Exif so removing it. - //TPtrC8 exifPtr = ModifiedexifData->Mid(0,KGlxMaxExifSize); if(err == KErrNone) { iFileHandle.Write(0,ModifiedexifData->Des()); @@ -527,7 +523,7 @@ CMPXCommand* command = TGlxCommandFactory::ThumbnailCleanupCommandLC(); command->SetTObjectValueL(KMPXCommandGeneralSessionId, static_cast(this)); - //Nitz To Do Initialize cleanup command Just for the respective Media Items + //To Do Initialize cleanup command Just for the respective Media Items iMediaList->CommandL(*command); CleanupStack::PopAndDestroy(command); iMediaList->RemoveMediaListObserver(this);