photosgallery/viewframework/commandhandlers/commoncommandhandlers/src/glxcommandhandlerrename.cpp
equal
deleted
inserted
replaced
256 // Used here to avoid a trap and still have safe cleanup |
256 // Used here to avoid a trap and still have safe cleanup |
257 TGlxFetchContextRemover contextRemover( context, aList ); |
257 TGlxFetchContextRemover contextRemover( context, aList ); |
258 // put to cleanupstack as cleanupstack is emptied before stack objects |
258 // put to cleanupstack as cleanupstack is emptied before stack objects |
259 // are deleted |
259 // are deleted |
260 CleanupClosePushL( contextRemover ); |
260 CleanupClosePushL( contextRemover ); |
261 // Yuck - a leave and a return code! |
261 // Yuck - a leave and a return code |
262 // EFalse => don't show a progress dialog |
262 // EFalse => don't show a progress dialog |
263 TInt err = GlxAttributeRetriever::RetrieveL( *context, aList, EFalse ); |
263 TInt err = GlxAttributeRetriever::RetrieveL( *context, aList, EFalse ); |
264 // Using a distinct error value as "LeaveIfError( FuncL() );" looks bad |
264 // Using a distinct error value as "LeaveIfError( FuncL() );" looks bad |
265 User::LeaveIfError( err ); |
265 User::LeaveIfError( err ); |
266 // context off the list |
266 // context off the list |